Update webapp.py

Created a couple enums, made form into self.form so we don't have to pass it into every method, underscores. I don't know what's going on with self.gender as it wasn't an instance variable before I changed anything but it was treated as if it existed.