Added basics for doctype client-side handling

Refactored jstree into namespaces depage.jstree plugin,
jstree.doctype.page.js handles jstree sub tree menu. Work in progress...