Hide the cursor with cursor-hidden class rather than element.style

Implements @bhuga's suggestion here: https://github.com/atom/atom/issues/2204

Allows packages to override the default hiding of the cursor when selecting text.