add unless clause to group.average on admin page
Merge pull request #623 from loomio/bugfix/admin_panel_zero_groups_error

add unless clause to group.average on admin page
Created a UserEmailPreferences object and use it to display the information needed on the preference page
Email preferences now using their own controller and entirely using new class
Moved the setting email preferences on group memberships into the email_preferences object