move from TreeItem<Resource> to TreeItem<String>
Merge pull request #14 from asobolev/master

First draft of the metadata tree

OK, but check comments
merged all changes from master
added facade for metadata tree items