Added optional gender field to register form.

Changed gender to be optional in userprofile model.