Use 'layers' as the apps_label when looking up layer permissions.
Merge commit 'a221067c97f3b965f198a6fe733ca20e6df745a8'
Replace the username variable with user_name.
Update geonode_authorize_layer.sql to work with groups.
Minor improvements.
Merge pull request #18 from garnertb/group_support

Add group support.