Changes to allow installApp, removeApp and isAppInstalled to be called without providing a device id

Added a check for iOS as these calls will not work on a simulator and removed the checks from device.js so that they can be called without providing an ID for Android. 

Tested on Android device (with and without id) and on iOS device and simulator.