Made sure that the children of a entity will be deleted if the entity is
deleted
added documentation for added function
removed display
Fixed syntax error
Merge branch 'develop' of https://github.com/projectcs13/sensor-cloud into Sp6.Sc2.delete_children_when_parent_deleted
Fixed error caused by to quick deleting by adding refresh
Changed the restricted fields for update, and changed the tests
accordingly
Small change in error message for missing parent
Merge pull request #126 from projectcs13/Sp6.Sc2.small_fix_to_error_message

Small change in error message for missing parent
Merge pull request #123 from projectcs13/Sp6.Sc2.change_restricted_fields

Changed the restricted fields for update, and changed the tests
Fixed comments
Fixed refresh
Merge branch 'develop' of https://github.com/projectcs13/sensor-cloud
into Sp6.Sc2.delete_children_when_parent_deleted

Conflicts:
	test/resources_tests.erl
Added acceptedfields in datapoints, resource, streams, users and created
help function in api_help
Merge branch 'develop' of https://github.com/projectcs13/sensor-cloud into Sp6.Sc2.return_error_with_unknow_fields
Added checks in datapoints, resources, streams, and users. Also created
a headerfile that will contain what is accepted, and restricted for the
entities
Moved the definitions to a header file and made the files include this
header file
Now compiles
fixed error with error message
Added the fields from the mappings as the accepted fields