Added some validation scripts.
Javascript for validation for regscript.
Merge branch 'master' of https://github.com/Jrende/IV1201

Conflicts:
	.target/Global$InitialData.class
	.target/Global.class
	.target/views/index.scala.html
	.target/views/main.scala.html
	.target/views/register.scala.html
	app/controllers/UserController.java
	app/views/register.scala.html