AGPUSH-768 Automatically logout user on timeout and redirect to the login page

Good morning peeps,

I have few considerations related to this PR:

- First, this is not perfect but can be refactored :)
- It makes use of [jQuery timeout plugin](https://github.com/ehynds/jquery-idle-timeout) exactly like Keycloak admin does
- The UPS variable was introduced, because I wanted to export the *logout* function and I'm really bad at Angular.js 
- For your sanity and testing purposes, decrease the values of *idleAfter* and *poolingInterval*
- If you have a better solution with plain Angular.js, I'm ok with it