Extrapolates slug generation into multiple functions
Extrapolates slug generation into multiple functions

Simpler code, and easier to change how slug generation works

nailsapp/common,nailsapp/common,nailsapp/common