Added first step towards creating a config file for our projects.
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 location of config file. Also added a DEBUG, INFO and ERROR macro.
If the compile flag "debug" is given in the compile options (in the rebar.config) then this flag is enabled and the macros are expanded to an io:format. If the flag is not enabled then the macros is expanded to 'true'. This construct makes it possible to have a debug mode, which would print all of the debug messages, while still having low performance impact when we don't want to run debug mode.
Added erlang mode for Emacs. Just for syntax highlighting and indentation. Has no impact on the system.
Changed a small thing in the Makefile. I accidentally uploaded something that was only supposed to be used for testing.
Also added basic config file manipulation. Should not break the system by pushing into develop.
Merge branch 'develop' of github.com:projectcs13/sensor-cloud into sp6.sc2.config

Conflicts:
	Makefile
return datapoints in descending order
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