refactored logout-after-inactivity feature

* refresh keycloak token periodically
* leverage ng-idle and ng-animate

https://issues.jboss.org/browse/AGPUSH-1025

merged to `1.0.x` and `master`