Fixed a few bugs to get it compiling on Android

There were a few syntax/naming errors. It builds and runs now, the destroy method works. The plugin still needs to handle when an app pauses.
Merge pull request #10 from cschaub/patch-1

Fixed a few bugs to get it compiling on Android