[TIMOB-17195]iOS: Check if analysis enabled before trying to send FeatureEvent and NavEvent.

 Check to see if analytics is enabled for Titanium, instead of crashing on the TItanium app,

Testing instruction can be found on the [TICKET](https://jira.appcelerator.org/browse/TIMOB-17195)