Bump deps for rails 4.0.4

Bump Gemfile to update to running on Rails 4.0.4

Along the way we also have to pull in sass-rails, and use a version of active_scaffold that has been patched to work with the new Rails.