Fixing issue STRATOS-550 and adding logic to handle auto commit checkbox
Fixing issue STRATOS-531
avoiding creating new connections to MB always. this could fix https://issues.apache.org/jira/browse/STRATOS-593 too
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-stratos