Changed timestamp to the agreed format, YYYY-MM-DD'T'HH:MM:SS.mmm and
moved the timestamp generation function to api_help
Added some documentation
Changed so that predictions will not crash when the provided stream has no datapoints
history_size and last_update will now be updated when adding a new
datapoint to a stream
Removed unused include file
Update datapoints.erl
Update datapoints.erl
Merge pull request #140 from projectcs13/Sp6.Sc2.update_server_side_fields

Sp6.sc2.update server side fields
Merge branch 'develop' of https://github.com/projectcs13/sensor-cloud
into Sp6.Sc2.change_timestamp_format

Conflicts:
	src/datapoints.erl
Merge pull request #135 from projectcs13/Sp6.Sc2.change_timestamp_format

Changed timestamp to the agreed format,
Merge pull request #141 from projectcs13/Sp6.Sc2.change_timestamp_format

Sp6.sc2.change timestamp format
Change streamid to stream_id
Update field_restrictions.hrl
Added the _history call, it can take _history?streamid=id1,id2,...,idX&values=NrOfDatapoints .
Changed some names so that they are consistent id, streamid -> stream_id
Update streams.erl
Added some tests and changed id to stream_id
Fixed problem from Costa
Merge pull request #142 from projectcs13/sp6.sc3.fix_inconsistent_naming

Change streamid to stream_id
Merge pull request #147 from projectcs13/Sp6.Sc2.fix_error_from_costa

Fixed problem from Costa