WIP: Initial port of history.
ENH: Adapt history() to work on zipline.
Merge branch 'history_port'