pep8ify

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
better utilization of wtforms

Signed-off-by: Alexander Skjolden <alex@plastboks.net>
small cosmetic changes

Signed-off-by: Alexander Skjolden <alex@plastboks.net>