Adding version validation in add_content.jsp

When we input input version name as 1. or 1.9. this will take as a valid input in wsdl and wadl import. this should not happen and should be validated.
Kindly find the relevant jira from here: https://wso2.org/jira/browse/REGISTRY-2333