Fixes rename_digest_email_to_email_digest migration for PostgreSQL

PostgreSQL uses double quotes to quote columns and expects strings to be
quoted with single quotes. Single quoted strings work both for MySQL and
PostgreSQL.
Merge pull request #372 from dsander/fix-email-digest-agent-migration

Fixes rename_digest_email_to_email_digest migration for PostgreSQL
Update rails to 4.1.1 and a few other gems

Changes in the gems all look minor.
Merge pull request #375 from dsander/gem-updates

Update rails to 4.1.1 and a few other gems
Fix #378 by duplicating the current form and splitting into two actions.
Add an expected event creation time by default
Merge pull request #379 from CloCkWeRX/relayout_user_edit

Fix #378 by duplicating the current form and splitting into two actions.
Merge pull request #380 from CloCkWeRX/fix_mqtt_working

Add an expected event creation time by default
integrate dsander's suggestions
Merge remote-tracking branch 'origin/master' into scenarios
fix OpenStruct for 1.9.3