Make zipline pandas 0.15 compatible

Just some minor changes that broke under `0.15`. Ran tests with `0.12` and none failed.