Feature/events

- Added `logEvent()`
- Added `logPurchase()`
- Activation Events
- Updated iOS sample to Cordova 3.4