Fix failing tests in documents app
Removed line with partial image string
Fix failing document tests
Properly handle redirects in proxy
Removed pinax theme account context processor.

It was triggering weird errors in testing. I verified the site still works
without it, but if someone else misses it, please drop me a line. Ariel.
DRYed proxy's tests
Added a way to debug geoexplorer. Instructions included. Thanks @ingenieroariel.
Merge branch 'master' of github.com:GeoNode/geonode
Layer detail pages is n times faster, where n is the number of layers in your geonode