feat(localforage): add "supports" method

Refactor code to use an array with the available drivers and their priorities, to prepare for mozilla/localForage#170