Expose forward_rate function on YieldTermStructure.

This PR exposes a small piece of additional functionality on `YieldTermStructure`.

There are some small unit tests in `test_market` that test whether the zero and forward rates are positive.