Extract common slugging code

extract common slugging code into a single module.
I should note here, that my User and Category modules require
uniqueness, the slug functionality is overkill for these modules.