Created Registration Form and added jquery validation

Reverted Commit.
Made Registration form dynamic.
Added Javascript validation to registration form
Put unittests into separate files