Updates to project files. Fixed #352

* Bump version number to 4.0
* Apply Xcode's recommended fixes
* Update code signing & provisioning profile settings