include absolute_http_url_re from django.http.request,
some pep8 formatting, update .gitignore, django 1.5 support