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 ?
Merge changes from develop
Merged changes from develop and changed some tests
Merge pull request #53 from projectcs13/Sp4.Sc1.Delete_resources_when_deleting_user

Sp4.sc1.delete resources when deleting user