ensure indexes on the date, type, and sgv fields for the entries collection at startup
fix tests
renamed entries.api() to entries.storage(); renamed entriesAPI to entriesStorage; also ensure indexes for treatments and devicestatus collections
Merge pull request #210 from nightscout/wip/indexes

ensure indexes on the date, type, and sgv fields at startup