Optimize admin node tree

* only do one query to generate the node tree
* nested set implementation in node table
* can be merged with master