Selecting folders in treeView.

Changes:
    item data contains path (UserRole + 1)
    enc algos take item as param
    gray out file/folder specific menu actions on select