add more gems required by caching in heroku
Fixes to caching
Fix a bug in invitations
Lot of fixes to caching