[Editor] Added more actions to the documentTree's custom context menu.

Project items now have an isRoot() function.