CMS-1763 Convert space_create to use value objects

Created JAX-RS service for creating spaces, tests and exception for it.