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
Fix bug memory usage and dulicate datapoints.

By default it will now keep memory size small instead of accumulating until the OS gives a memory warning.

When getting data points from storage the result could contain duplicates (due to a datapoint being both in memory and storage). Fixed.
Merge pull request #27 from senseobservationsystems/feature-database

Fix big memory usage and duplicate datapoints.
Fixed issue #28, interval in burst sensors.
Upon flush, flush the data to persistent storage before uploading.
Compress communication between phone and Common Sense.
Merge pull request #29 from senseobservationsystems/some_stuff

Some stuff
Make significant locations a setting in the app.
Improved memory handling in CSStorage.

- limit memory usage
- on memory low clean-up memory
- store data to disk if there are 1000 data points, regardless of time.
Merge pull request #31 from senseobservationsystems/feature-background_hack_option

Make significant locations a setting in the app.
Merge pull request #30 from senseobservationsystems/fix-memory_handling

Fix memory handling
Added missing files.