Server-side implementation of slug generation and validation
Merge pull request #189 from DejanMilicic/master

Reimplementation of slug generation