Break middleware into two pieces, one for request and one for response.

This allows *other* middleware that alters the /response/ based on url
information to work properly.

Added in class + DeprecationWarning for backward-compatibility.
Merge branch 'allow_url_access_in_response' into localwiki
Version bump for localwiki install