feat(localforage): ensure setDriver is called with a string or an array

`isArray` looks redundant here since a typeof check follows.