Support the WSGI_APPLICATION setting in runprofileserver

Handle fetching an internal wsgi application if it is defined. Does so
in a similar manner as the `runserver_plus` command.