Fix #790: allow rootId override via config

Fix for issue 790: https://github.com/modxcms/revolution/issues/790
Allow rootId overwrite from config in MODx.tree.Directory. Fixes #790

* origin/pr/11367:
  Fix #790: allow rootId override via config