Fixes issue #93 #97 #98 #99

1) Implementing clean shutdown of client. Moved away from Timer to ScheduledExecutorService as it gives better control of shutdown by interrupting the running thread, which is what we want.
2) Implemented addition of "application group" to instance info.