Adding relevant heartbeat config to common settings

Since the stomp connector was complaining about heartbeat not being set, I decided to expand the module to include a default heartbeat_interval of 30 secs, that can be overridden in the class declaration.