Updates to UIApplication event tracking and refactoring of JFAnalyticsClient