Fixes compiler warnings.
Added license file.
Added podspec.
Merge pull request #16 from neonichu/master

Support for CocoaPods, fixes compiler warnings