Fix URI matching route detection
Fix bug in garbageCollect
Fix for small bug in isDirectortWritable