space api: deny to change name, change input from collection to resource, cleanup
comments api: clean up, switch input from collection to resource for post, cleanup
comment model: fix for instantiate with no date, cleanup
core api: add json error schema, add default error code in json error reponse, refactor json creation
document model: fix comment deletion
add unit tests for comments, spaces and users apis
add unit tests in makefile