Make sure all path evaluation go through a single point to access the graph data.
General reformat and tidy up.


git-svn-id: https://svn.apache.org/repos/asf/jena/trunk@1597133 13f79535-47bb-0310-9956-ffa450edef68