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
Made all tests work with my changes
Renamed include file
Added tests for the features i added
Merge branch 'develop' of https://github.com/projectcs13/sensor-cloud
into Sp6.Sc2.return_error_with_unknow_fields

Conflicts:
	test/resources_tests.erl
	test/streams_tests.erl
	test/users_tests.erl
Added documentation for new function
Merge pull request #129 from projectcs13/Sp6.Sc2.return_error_with_unknow_fields

Sp6.sc2.return error with unknow fields
pulled from develop