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.

r=jugglinmike
Bug 915286 - [clock] Support IndexedDB version wrapping around 2^53-1