Added validation of tag lengths to Project create page. Closes #769
Also added validation for reference to check that it actually was a URL that was supplied.
Made some methods such as validation methods private