Compatibility with new {% url 'name' %} format.
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.
Fix tests.
Fix tests, update docs.
Fix double-resolve issue (in {% for %} loops)
Merge pull request #17 from philipn/allow_url_in_response

Break middleware into two pieces, one for request and one for response.
Merge pull request #16 from philipn/fix_url_quoting

Compatibility with new {% url 'name' %} format.
Merge pull request #1 from jezdez/develop

latest develop from Jannis