Modified getTree() to support options (like context) as getChildIds()/getParentIds()
Add options and context filtering to modX::getTree()

Merge remote-tracking branch 'origin/pr/679' into develop

* origin/pr/679:
  Modified getTree() to support options (like context) as getChildIds()/getParentIds()