MODE-2009 Fixed the workspace.delete() operation so that a) permissions are being checked and b) the workspace is actually cleared and all nodes removed. This also exposed an additional problem regarding the retrieval of all the additional parents of a node.