Added legend fitting feature and fixed legend creation on missing legend icons (failOnBrokenUrl property)
Merge pull request #3 from mbarto/legend_optimizations

Introduced new legend block properties for legend fitting