Update doc and change names of slug functions to be specific to contacts.
Add unit tests for slug functions