Added validation on slug field so it cannot contain any spaces.
Added validation on slug field so it cannot contain any spaces.

Solid-Interactive/grasshopper-api-js,Solid-Interactive/grasshopper-api-js