Cleanup global function assignment
Use callbacks instead of options
Add promises to gaia's asyncStorage
Remove stubbed out IndexedDB
Use requireJS in asyncStorage
Cleanup promises code