Updated acls and resolve_user functions to use the user's profile setting.
Merge branch 'master' of https://github.com/GeoNode/geonode