added fixes for MQTT.
Merge pull request #32 from abeykoon/fix_MQTT_functionality

added fixes for MQTT subscriptions and some refactoring.
refactoring subscriptionStore and subscription manager for separation of concerns.
Merge pull request #33 from abeykoon/refactor_SubManager_and_SubStore

refactoring subscriptionStore and subscription manager for separation of...