Various Fixes Location Information User View Invites

Update algorithm that calculates average for classes, added invitation
link to admin dropdown, edited invitation_email so the invitee is
redirected to app.mathplus…., added mailer information to dev.rb and
prod.rb
Commit
fix production.rb