Refactored Installations retrieval to work with roles
add unit test
adding final
factorize code
removed unused code
Merge branch 'AGPUSH-1107' into 1.0.x
fixed logout that broke after refactoring AGPUSH-1025
File renaming to avoid confusion
enabling monitoring thread. was disabled due to java-apns SocketException: Socket closed
using finest for every token sent over to APNs