Added LinkSorter.
added support for HTTP verb PATCH

To provider better REST API support PATCH method is added which is used
for partial updates, while a PUT should only update whole record.

issues #303 and yiisoft/yii#2664