Further cleanups of RippleCalc.

* Rename many variables.
* Make most of PathState private.
* Extract out common Node::isAccount() code.
* Rename bConsumed to allLiquidityConsumed_.
* Extract out code into PathState::clear().

Replaces https://github.com/ripple/rippled/pull/381