Added support for data-method and data-confirm.
Fixes #823: consistent interface naming
Merge remote-tracking branch 'yii-app/master'