adds dividend calculations to the performance tracker

I decided to keep algorithm api access to the dividend out of this PR. Talking to @jbredeche about the design, we think the dividends ought to be events, rather than static state on the positions.