Moved functions from resource.erl and streams.erl
Moved help functions common to API files to a different module
Changed users.erl to fit with frontend
Changed error in resource.erl
Merge branch 'develop' of https://github.com/projectcs13/sensor-cloud into sp4.sc2.create_help_function_module

Conflicts:
	src/users.erl
Added "correct" deletion of streams and new testcases to test this
Added sleep to get test to work for travis
Added documentation for new functions
Merge pull request #49 from projectcs13/sp4.sc2.fix_resource_delete_streams

Sp4.sc2.fix resource delete streams