iphone: use push API only when push capability is enabled
Merge pull request #292 from rhomobile/ios_usePushApiOnlyWithPushCompat

iphone: use push API only when push capability is enabled