[Editor] Changed the way projectItems work, use bool + type now.

Document tree custom context menu code is now A LOT shorter.
Fixed newScriptDialog default text.