* Convert not string enum default value to string by toString. * Add some test cases for enum's default value. * Convert string default value to enum var name format. * sync master, update samples
* [swift] improve testing in sample projects * [swift] update run tests script * [swift] regenerate samples * [swift] fix tests with PromiseKit * [swift4] compile every project with swift package manager