add dependency on angular-cache
add cache management to the library
separate default state names to constants
update the ngSecured mock
add logout logic