Fix push registration to support ios8.
Merge pull request #19 from KiiPlatform/fix_plugin

Fix push registration to support ios8.