support setting category slug

- Add API to set category slug individually
- FIX: flash class is not error when it's error
- UI to set slug
- Sanitize custom slug

Related: #3021