Added sqlite database. Not yet used.
Upload from database storage. WIP

Added an uploader that gets data from the storage and uploads to CS.
Replacing some old things:
  - single upload instead of per sensor
  - more efficient sensor id resolve

Still WIP, this version is very buggy.
Removed a bunch of warnings due to 64 arch.
Resolve sensors and upload data from storage.

- resolve sensor's.
- keep track of what data needs to be uploaded.
Clean-up some code and implement flush.
Empty storage after uploading.
Use sensor descriptions to create sensors. Sets data type.
Fix to work with accounts with >1000 sensors.
Merge pull request #26 from senseobservationsystems/feature-database

Feature database