making a couple updates in preparation for django 1.5

replacing redirect_to with RedirectView.
updating url reverematch syntax for django 1.5
fixing issue with non-scrolling sublayer lists
reverting back to django 1.4 syntax to match django version on production server
adding restore_db command to fabfile
adding legends for WMS layers

includes a new OpenLayers build, underscore.js, getCapabilities proxy
api
adding geoportal_id field to layer model

(includes data_manager migration script)
adding service that returns a list of those layers containing geoportal ids
enabling direct link to sublayer as well as top layers

visualize/#layer-name-slug will activate that layer (now works for
sublayers too)
opening app in active tab when url specifies layer name

and fixing issue in which theme was not opening (when url specifies
layer name) because specified layer was sublayer
adding wcodp-md initial data fixture
fixing a failing media request
adding a jsonp decorator for geoportal ids request
adding content_type to geoportal_ids view
manually merging wcodp-md into wcodp-md-staging

(while in a temporary branch called wcodp-merge)