Fix deletion of database files
Fix deletion of database files

With couchstore the database name is a directory and we need
to remove files recursively

Change-Id: I6690228f922838404a11b6fbe8803e30dfe34fe0
Reviewed-on: http://review.couchbase.org/14802
Reviewed-by: Chiyoung Seo <8b279095f11c26cc21045fda5a3e51debb005aa9@gmail.com>
Tested-by: Chiyoung Seo <8b279095f11c26cc21045fda5a3e51debb005aa9@gmail.com>

couchbase/ep-engine,owendCB/ep-engine,sriganes/ep-engine,daverigby/kv_engine,membase/ep-engine,owendCB/ep-engine,jimwwalker/ep-engine,owendCB/ep-engine,jimwwalker/ep-engine,owendCB/ep-engine,daverigby/kv_engine,abhinavdangeti/ep-engine,teligent-ru/ep-engine,teligent-ru/ep-engine,daverigby/ep-engine,membase/ep-engine,sriganes/ep-engine,membase/ep-engine,abhinavdangeti/ep-engine,daverigby/kv_engine,sriganes/ep-engine,daverigby/ep-engine,daverigby/ep-engine,hisundar/ep-engine,membase/ep-engine,teligent-ru/ep-engine,couchbase/ep-engine,jimwwalker/ep-engine,abhinavdangeti/ep-engine,abhinavdangeti/ep-engine,couchbase/ep-engine,teligent-ru/ep-engine,hisundar/ep-engine,hisundar/ep-engine,hisundar/ep-engine,jimwwalker/ep-engine,couchbase/ep-engine,daverigby/kv_engine,abhinavdangeti/ep-engine,daverigby/ep-engine,sriganes/ep-engine