Migrations are either an Array, or an object with a 'run' function. This takes care of validating arrays without a 'run' function.
Initial Ledger.Website definition. Closing Ledger's database on chrome.runtime.onSuspend. See: DinosaurPill.suspend()