Add slugify method for automatic slugs

Imported a slugify method from django to add pretty slug support. I had to change the URL routes to accept hyphens.