Upgrade rack and multi_json

To use it with rails 4 we need to upgrade this dependencies.