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

This might not be necessary (for all browsers) but since object property names are converted to strings (on object literal declaration and when accessing with the bracket notation) I thought this was the best way to go.
Without this PR, this object literal works as a parameter to setDriver.
Do you want to change the commit to make them look like numbers?