FIX: Hierarchy markOpened incorrectly applying

Moved call to markingClasses() to after resolution of the nodes children has
happened. This fixes the jstree-open applying before the tree has been checked.