feat(localforage): combine setDriver and config

Closes #168
Deep copy so that the defaults are never exposed.