added function root to settings to avoid hardcoding paths
added sorting rows javascript
added 404 html for tests
tests directory is now a package
added a factory of polls and choices
added tests for views
now context is in every PollResults instance, not in the class