Added engine tag in plugin.xml. We support cordova 3.0.0 and higher.
General cleanup of Android side

Creating the file for the intent should now work better.