Fixing https://wso2.org/jira/browse/APIMANAGER-2004
Applying patch provided by Malintha to fix no version API
Merge pull request #4 from lakmali/master

Fixing APIMANAGER-2004 and applying patch provided by Malintha