Update rails in Gemfile to 4.0.4
Update slim-rails and depended gems
Update config files after Rails upgrade
Merge pull request #135 from fs/update-rails-to-4-0-4

Upgrade to latest Rails > 4.0.0