Add Tree.mode field

net.secloud.core.Tree.mode field contains information about what kind of
element in file system corrosponds to the object the entry references to.