History port

I think this is ready for an initial round of reviews.

This ports history() from Quantopian to zipline. Most of the code and unittests is copy&pasted with minor modifications. I removed the backfilling logic.