moving apache tenant.mgt.stub back to wso2. original revision 13e5733f4bf20aae1fe039c613303bd6d3c39919
merging carbon 4.2.0 changes