Fixed issue #28, interval in burst sensors.
Upon flush, flush the data to persistent storage before uploading.
Compress communication between phone and Common Sense.