GeoNode/geonode — pull request #1108 by vdeparday (2013-09-05 23:48:27+00:00)
Title: Fixes #1107 

The custom Manager for the ResourceBase class was not instantiated so that is why admin_contact() did not exist.
This PR also fixes a couple other issues:
- Profile is returned by admin_contact() but a User is expected later in the post_save methods,
- resourcebase.owner does not necessarily exist in the "else" of the first condition so it is replace by user