Updated formatSlug in string manipulator

Signed-off-by: Tom Wright <tom@inflatablecookie.com>