CONN-1351: Added code to move custom properties configurable

The following are the changes made:
1. Add logic to read properties from the config service settings
2. Fixed few other issues found during testing
3. Fixed the poller code to call the message monitoring poller logic all the time
4. Added the custom properties to gateway.properties file and also logic to read the data (part of 2nd commit)