initial draft to sync device/pump

copied get_last_sg_from_data for reference
working process from pump to phone!
updates to sync to pump/device db (still DRAFT)
sync is now able to download, decode, and populate in the db
Merge branch 'show-cgm-in-app' of http://github.com/erobinson/cloop into show-cgm-in-app