style and indentation update for ios
added ios8 request permissions code
updated deprecated Cordova API methods
Merge pull request #25 from aogilvie/update/cordova4-compat

Update/cordova4 compat