Vote form

This pull-request ports the form to use wtforms and thus add CSRF protection