Use local storage for settings

Uses localForage for storage abstraction.

Implements simple migrations in case of future schema changes