GeoNode/geonode — pull request #467 by simod (2012-10-24 10:09:14+00:00)
Title: Base geonode refactor

This does a bit of cleanup in the base_geonode template by putting the scripts in the head and removing the not imported ones. The general purpose scripts are already in utils.js.
Also moved all the scripts pertaining to the permissions form in his template and simplified a bit the logic by making him understanding if we are dealing with maps or layers.