Added delete method to <Directory> (fixed http://bugs.locamotion.org/show_bug.cgi?id=2776)