Reg form

Converted the registration form to use WTForms. Much nicer than handling everything in the view. Provides nice validators and protection against CSRF.