- Introduce accessor for "root" element: root()
- adapt client classes
- introduce Node::getName() method
- adjust clients
- exclusively use xml.Node::getContent(), xml.Node::setContent()
- add xml.Node::setAttributes(), ::getAttributes()
- adjust clients to use ::setAttribute(), ::getAttribute(),
  ::hasAttribute() instead of accessing $attribute directly
- fix more xml.Node::$name accessors
- add new methods to xml.Node:
  . hasNodeChildren()
  . getNodeChildren()
  . clearNodeChildren()
  . nodeAt()
  with the target to remove all direct member accesses to xml.Node's
  members. Note that the addix "Node" in getNodeChildren() was
  intentionally added to keep the getChildren() name available for
  future use.
- adjust clients and derived classes; these adjustments were done
  semi-automatically by the following commandlines:

  1st) Replace all ->children[...] accesses:
  for i in `grep -irnl '\->children\[' src | grep -v '.tmp' | grep -v "Node.class.php"`; do \
    echo "---> Processing $i"; sed -re's#->children\[([^]]+)\]#->nodeAt(\1)#g' < $i > $i.tmp ; \
    mv $i.tmp $i; \
  done

  2nd) Replace all remaining ->children accesses:
  for i in `grep -irnl '\->children' src | grep -v '.tmp' | grep -v "Node.class.php"`; do \
    echo "---> Processing $i"; sed -re 's#->children#->getNodeChildren()#g' < $i > $i.tmp ; \
    mv $i.tmp $i; \
  done

  Order is important.
- fix some overseen places w/ direct member access on xml.Tree or
  xml.Node members
Merge branch 'master' into topic/xml-accessors
- If a line ends with ".php", require() it
- QA: use correct classname lang.*reflect*.TargetInvocationException
- Check that lines *end* with ".php" (vs. just containing ".php")
Merge branch 'master' of github.com:xp-framework/xp-framework
Merge branch 'master' into path-files-require-php
- Fix code detecting whether a line ends with ".php"
# It might contain \r, \r\n, or \n, or nothing, at its end, so work
# on trim()ed string
Merge branch 'master' of github.com:xp-framework/xp-framework
- Remove old and deprecated REST API
Merge branch 'master' of github.com:xp-framework/xp-framework
- Pull in changes made to master, and xp5_9 branch (which was merged to
  master in the meantime) into topic branch.
- Integrate tools/src/main/php -> core/src/main/php, tools/tools -> core/tools
- Remove tools dir