api: make WSGI entry point Paste factory compatible.
api: provide query param to specify request `method`.

By default, tasks are performed using the HTTP POST method. However, for example
in cases where you're working with a REST api, you can override this by specifying
an alternative HTTP method, as long as the method is in
`ntorque.model.constants.REQUEST_METHODS`.