Adding the bam publishing funcitionality to stratos manager

Signed-off-by: Sajith Kariyawasam <sajith@wso2.com>
Resolving merge issues and committing patch given by Vimuth for data publishing. STRATOS-517