Add RESTful method support for html forms

This commit allows calls to `CHtml::form()`, `CHtml::beginForm`
`CActiveForm::$method` etc to accept verbs other than `post` and `get`,
e.g. `delete`, `put`, `patch` etc

This is implemented by detecting non `post`, `get`, converting to `post`
 and adding a hidden `_method` field, similar to how CSRF protection works.
update changelog
fix changelog
fix codestyle
fix code style
fix merge conflicts
Merge pull request #2688 from phpnode/support-rest-form-methods

Add RESTful method support for html forms