Added "time_in_app" property to Analytics

Added in"time_in_app" property to the "Application Closed" event.
Code cleanup as per @diegoreymendez's suggestions
Merge pull request #2473 from wordpress-mobile/issue/add-time-in-app-to-analytics

Added ability to see how long a user uses the app for to Analytics