traversal for constant direction

Implementing a PathExpander ensuring that relationship direction will be constant along the path.
The first relationship determines the direction to follow for all subsequent steps.
Relates to http://stackoverflow.com/questions/20654988/directed-paths-in-neo4j
applying codestyle
Merge pull request #1740 from sarmbruster/constant_direction_expander

traversal for constant direction