Merge pull request #52 from projectcs13/Sp4.Sc1.Fix_response_consistency

Made sure that the return values are consistent and updated the tests
Changed return of Get to {"hits": List} instead of List.
Changed api so id is not stored in source but added when returned
Fixed error in delete_streams_with_resource_id
Added documentation for new function
Merge pull request #56 from projectcs13/Sp4.Sc2.dont_store_ids_twice

Sp4.sc2.dont store ids twice
Merge branch 'develop' of https://github.com/projectcs13/sensor-cloud into Sp4.Sc1.Delete_resources_when_deleting_user
Fixed error in users.erl caused by another branch being merged and fix
documentation issue