Fix detect logic, add default detect, make Dexcom use it
Give function a better name
Merge pull request #23 from tidepool-org/kjq/mvp_detectFix

Fix detect logic, add default detect, make Dexcom use it