Re-add missing application object for uwsgi, and fix ifmain for stand-alone testing
Version bump