Support for horizontal legends - not tested due to getBBox+jsdom
Added grunt-contrib-jasmine, converted legend tests to jasmine specs, created spec helpers and fixtures
Added jasmine specs for horizontal legends
Added test coverage support for jasmine and reorganized test/coverage tasks
fixed test issues with different rendering issues
Merge pull request #399