add inMemory option

this adds `inMemory: true` to force memdown. I needed this for requirebin as I was running into nasty indexeddb bugs in certain situations