Fixed input generation for CakePHP 2.4

Fixed input generation for CakePHP 2.4; third parameter of HtmlHelper->tag() should be an array. In previous versions a string was processed as an array with one entry "class".