CRAFTERCMS-218: Clicking on folders goes to preview

Clicking on folders (assets, components and templates) should not go
to preview. Clicking their icons or labels should expand/collapse
their content.
CRAFTERCMS-216: Cannot move the cursor into the second line in HTML mode