Cordova file plugin compatibility

This patch adds:
- window.requestFileSystem compatibility, has seen in Android 4.4 WebView
- cordova compatibility by waiting for the 'deviceready' event to request the file system