fixed problem with disposing TransactionalStorage not allowing database ...

...to dispose completely, if unexpected error accures in esent.

change the way we treat shutting down databases in HttpServer.cs. instead of removing database from the ResourcesStoresCache, we first "plant" a special exception throwing task at the begining of the dispose process and remove the databace from the cache only when dispose process is done