added  gem and some needed updates because of version locks
Set the locale from the context, plus some small fixes
Merge pull request #80 from coopdevs/set_locale

Set locale from param, session or header