Drop all tables before running tests as well.
Implemented a base class for views with helper response methods.
Moved create_poll to use class-based view.
Moved vote api to class-based view.
Added error catching tests for vote api
Raise 404 to get_result API if poll_id is not valid.