Add slug auto-generation on Post model

*Add slug auto-generation to model and made test pass.