add linux2 to supported platforms
add some error logging
fix some error raised from bad requests
run as a wsgi app by default
use uwsgi as our wsgi server of choice