Fix onNewIntent

- save reference to onNewIntent callback
- call the reference
- can now be used in conjunction with other calls
Make callback reference private
Merge pull request #28 from peerigon/master

Fix onNewIntent