refactor(localforage): move driver names and priorities into constants
refactor(localforage): create an enum with the MODULE_TYPEs