Updated gitignore to ignore RubyMine
Added spacing for checkboxes on left when legend is horizontal

When the legend is horizontal, and checkboxes are on the left, there needs
to be more room calculated into the legend item's width to make room
for the checkboxes and prevent them from overlapping on other
legend items.