Pulls/expand sitetree node

New behat test step definitions for expanding/collapsing site tree node and check CMS tab.
Invert this check by putting it inside a ternary (`$action === "expand" ? 'jstree-open' : 'jstree_closed'`) to prevent duplication of the below code.