Further updates for the Cordova version of the Gamepad plugin
- adds permission to config file
- waits for devicready before startup