Timeout Issue Fixes

Replace the existing Timeout logic with a new idleTimeout object.
Utilizes the jQuery plugin idle-timer to track user activity in the app.
Added an additional check to the plugin to doubly ensure that user is
logged out after resuming the app from the background.