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
fixed type when creating the pebble endpoint
Merge pull request #1 from nightscout/release/0.5.0

Release/0.5.0