chore(components.legend) refactor legend for mixin
Merge branch 'mixins-for-components' of https://github.com/racker/glimpse.js into mixins-for-components