minor changes to loadJSON for upgrade scenarios

If saved a dynamic view with (single) sort criteria in old 1.0 database,
we will upgrade it to array of 1 criteria to support our new multisort
criteria array format.  Added more aliases to indexeddb adapter in case
you use it for purposes outside of loki database (as standalone
app/key/value database).