Metadata tree improvements

- sorted
- border pane -> split pane
- simple search text box to filter by literal (just a draft to play with)
- some small fixes and tests