Implement File API as client side wrapper

Retargeted

Original pull request: https://github.com/blackberry/cordova-js/pull/18