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)