cleanups and minor improvements

- remove unused dependencies (mocha, htmlentities)
- use proper mimetype for SVG
- allow backend option to be specified as symbol
- set haml format to html5 for all html backends (including slides)
Merge pull request #343 from mojavelinux/cleanups

cleanups and minor improvements