Add rails 4.0 gemfile
Fix #1292: Set content_type errors correctly on base

Content Type errors were incorrectly being set as an array on the base
attribute rather than being set individually as strings.