Create a Static Framework

I changed the xcode project to make it generate a static framework (which is easier to be distributed, for example, in cordova plugin).

The instructions to generate a static framework is here:
https://github.com/jverkoey/iOS-Framework#walkthrough