Change build_slug callback to before validation.

To be able to write custom validators in Active Model style.

@digitalplaywright what do you think?