cordova: initial bindings for clay-mobile->cordova (native)

Also added Environment detection (kik/native/browser)
This should work the same way that the SDK does.
Send the request to the parent, and if it fails then fall back to the local call