add version support into policy
Merge branch 'master' of https://github.com/wso2-dev/carbon-registry