remove undocumented code and uncessary in_array() checks + cleanup

Applying a third param as string ("class") was undocumented even in 1.x:

    $this->Html->tag('div', '<text>', 'class-name');

Removed as well as some unnecessary is_array() checks.

Waiting on travis report.