Upgrade to Rails 4
Do not eagerly load lines when showing quotes (most likely they are cached)
Fix some deprecation warnings