Test RegistrationForm.

I've added a TestCase for RegistrationForm. It ensures that mismatched passwords returns the appropriate error message and that duplicate usernames aren't permitted.