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

Added in"time_in_app" property to the "Application Closed" event.
round() is called twice... maybe we can reduce it to one call.