fixed recursive mkdir in diskcache - using mkdirp module
added test for running without a database in server code