Made sure that the return values are consistent and updated the tests accordingly. Also added some extra tests to resource_tests
Merge pull request #52 from projectcs13/Sp4.Sc1.Fix_response_consistency

Made sure that the return values are consistent and updated the tests
Merge branch 'develop' of github.com:projectcs13/sensor-cloud into sp4.sc2.json_lib

Conflicts:
	src/resource.erl
	src/streams.erl
	src/users.erl
	test/resource_tests.erl
	test/streams_tests.erl