Bug 915278 - [clock] Create IndexedDB wrapper to support database upgrades/downgrades

This commit adds SchemaVersion and Database objects used to support
flexible upgrades and downgrades in an application.