Fixing STRATOS-348, adding active instances check for MT cartridge subscription
Adding missing code from patch apply in STRATOS-517
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-stratos