[Fix] REGISTRY-1673

git-svn-id: https://svn.wso2.org/repos/wso2/carbon/kernel/trunk@178537 a5903396-d722-0410-b921-86c7d4935375
applying changes to db script by Venura

git-svn-id: https://svn.wso2.org/repos/wso2/carbon/kernel/trunk@178538 a5903396-d722-0410-b921-86c7d4935375
applying shared roles changes by venura

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