Add documentation for device's API
Add API documentation for data endpoint
Rename device as datastream across the code

From now on, devices will be refered as datastream. Eventually a device
will represent a collection of datasteams.