random pep8 updates
missed this in the previous commit, pep8 update
added some checks to SettingsHandler, made BaseHandler more useful with a form validation method, and fixed RegisterHandler