Added default category to fileSelector

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Added ensureSlugExists to category unit

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