plugin directory structure
added partial implementation of W3C Gamepad API and compatibility with Cordova 3.x plugin