Groups and better slugification

Many thanks to underscore.string.js for slugification