Fixed import location for Django 1.5.1 support.

`django.http` has been split out into separate modules in Django 1.5.x, and `absolute_http_url_re` is no longer available from the root of the `django.http` package. This commit tries to import from its new (>=1.5) location, falling back to its old location if it's not there.