STY: Remove whitespace
ENH: Add formatSVGLegend to create plot legends
ENH: Use formatSVGLegend in emperor.js

This removes a lot of code that we now can test.
BUG: Fix incorrect generation of SVG files

Fixes #256
TST: Add test_draw.js

This is module is currently only testing that we can format correctly
the SVG file with the labels.
DOC: Add note about the bug fix
Merge pull request #290 from ElDeveloper/issue-256

BUG: Fixes issue #256 - Incorrect SVG file generation