Add patch to fix Rails' hash types with Ruby 2.1.1

https://www.openproject.org/work_packages/7295

Might also help us with Ruby 2.2 until we have Rails 4.

See the changes for more information on the issue.

After merging this, we should merge release/3.0 into dev.