Changed so that resources(and streams) get deleted when the owner(user) gets deleted. Also fixed the update in resource.erl.
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
Merged with develop
Merging 'Delete_resources_when_deleting_user' with develop
Merging is done, needed to change some stuff so they used new helpfunctions and stuff
Removed analyse, should not have been in this branch...
For some reason two lines got changed in resource.erl, they are now back to what develop looks like
Since my travis test is failing, I tried to fix the datapoint test, maybe it is a problem with the timer ?
Changed time-outs to refresh, problem was in mapping in elastic search.
Merge changes from develop
Merged changes from develop and changed some tests
Merge pull request #92 from projectcs13/Sp6.Sc2.fix_travis_tests_for_datapoints

Changed sleeps to refresh, problem was in mapping in elastic search.
Merge pull request #53 from projectcs13/Sp4.Sc1.Delete_resources_when_deleting_user

Sp4.sc1.delete resources when deleting user
removed unecessary file
Merge branch 'develop' of git@github.com:projectcs13/sensor-cloud.git into sp6.sc3.pub-sub-files-merge-branch