added support to parse json request to Request::getRestParams()

https://github.com/yiisoft/yii2/commit/88059439f61eb6def47879b2c55d5bc6e03c8ad0#commitcomment-5112508