Removed 'slug' from refs.
Added 'get_valid_slug' in category_model and used that at other two places.
Merge pull request #8 from jitendra-1217/resolving-bugs

Resolving bugs