KAA-42: Add handling of client session expiration with optional redirection to login page.
KAA-42: take into account code style comments
Merge pull request #48 from kaaproject/feature/KAA-42

KAA-42: Add handling of client session expiration with optional redirection to login page.