Fix uWSGIApplication to do instantiation and patch-up properly