Fixes for APIMANAGER-1417. Changes done by Ruwan

git-svn-id: https://svn.wso2.org/repos/wso2/carbon/platform/trunk@179677 a5903396-d722-0410-b921-86c7d4935375
fix for issue IDENTITY-1485 by Darshana

git-svn-id: https://svn.wso2.org/repos/wso2/carbon/platform/trunk@179679 a5903396-d722-0410-b921-86c7d4935375
changed packing type in POM

git-svn-id: https://svn.wso2.org/repos/wso2/carbon/platform/trunk@179680 a5903396-d722-0410-b921-86c7d4935375