Update to Cordova 2.9+ plugin interface.  Move all Facebook requests to the thread pool so they are non-blocking.

I know that this pull request is a bit of mess as things got auto-formatted by Intellij, but it does make the plugin work with modern Cordova on Android (I haven't touched the IOS part yet...)