update gem dependencies for rails 4.0
workaround for rails4
ActiveModel::Naming cannot respond_to demodulize
Workaround (because MassAssignmentSecurity is deprecated)
assign_attributes role option is no longer effective