removed unused macros
Changed so that instead of using ?TO_STRING, the lib_json:to_string/1 is used instead. Removed unused functions. Underscored or removed unused variables. Removed misc.hrl, not useful anymore.
Merge branch 'sp4.sc2.model-auto-complete' of github.com:projectcs13/sensor-cloud into sp4.sc2.model-auto-complete

Conflicts:
	src/datapoints_resource.erl
	test/datapoints_tests.erl