MAINT: Bump numpy version in .travis.yml.
MAINT: Peg .travis.yml packages to specific versions in line with requirements.txt.
MAINT: Refactored target order methods

Refactored the target order methods to separate their logic from the
other order methods.

This makes order_target the only target method that calls order()
directly.

order_target_value is passed to order_target instead of order_value.

order_target_percent is passed to order_target_value rather than
order_value.

This simplified the code and decouples the logic of target orders from
the other order methods. This allows the target order methods to be
developed independently from order_value and order_percent.
MAINT: Removed unused keyword arg

Deleted keyword arg include_open_orders, it was left over from working
on handling open orders.
DOC: Add @humdings to contributors.
Revert "MAINT: Peg .travis.yml packages to specific versions in line with requirements.txt."

This reverts commit 450dded4918b07b12e35652b44f5fa7268f22ed5.
DOC: Documentation fixups in `history_container.py.`
ENH: Add a class-level `instance` method on `TradingEnvironment`.

Adds a classmethod, `instance` on `TradingEnvironment` that returns
`zipline.finance.trading.environment`, instantiating it if necessary.

This makes it possible to initialize the default environment instance in a
less-roundabout way than creating a `SimulationParameters` object.
BUG: BarData.values() no longer causes in an infinite loop on Python 3.
ENH: Enhancements to `TradingEnvironment`.

Adds a suite of new functions for querying data from the trading calendar.

These include:
      `previous_trading_day`
      `minutes_for_days_in_range` (minutely version of `days_in_range`)
      `previous_open_and_close` (inverse of `next_open_and_close`)
      `next_market_minute`
      `previous_market_minute`
      `open_close_window` (get a range of opens/closes with slicing semantics)
      `market_minute_window` (get a range of minutes with slicing semantics)

Also refactors `test_finance` to move `TradingEnvironment` tests into their own
TestCase.
ENH: Prep work for supporting '1m' history.

Overhauls `HistoryContainer` in prep for support of more than one frequency.

Major changes:

   - Methods/variables referring to "day" have been renamed/generalized.
     - `current_day_panel` became `buffer_panel`, which is now a `RollingPanel`
     - `prior_day_panel` became a dictionary mapping `Frequency` objects to
       "digest panels", which are instances of `RollingPanel`.

   - Hard-coded daily rollover replaced with a notion of a "current window" for
     each unique frequency managed by the panel.

     - When the end of the current window is reached for a given frequency, we
       compute an aggregate bar (code refers to this as a "digest"), which is
       appended to a panel associated with that frequency.

     - Window rollover dates are managed by a pair of dictionaries,
       `cur_window_starts` and `cur_window_closes`.  The `Frequency` class is
       responsible for computing window bounds based on the open/close of the
       previous window.

   - Semantic change to the `open_price` field: `open_price` now always
     contains the price of the first trade occurring in the given window.
     Previously it contained the price of the first minute in the window,
     returning NaN it the security happened not to trade in the first minute.
BUG: Don't return mostly nans from `get_history` when `ffill=False`.

Fixes an issue where, if `ffill=False`, `get_history` would return nans for
every entry in the history frame except the last one.
ENH: Overhaul logic in `HistoryContainer`.

Updates `HistoryContainer.roll` to handle cases where no data is present for
the period being rolled.

We now only forward-fill the `price` field when `ffill` is specified.
ENH/TEST: Enable '1m' history and add tests for the frequency.
TST: Changed test_mixed_frequencies to use a half day.

Also adds a length-1 HistorySpec to the test.
Merge branch 'one_minute_history_for_realz'
ENH: Add removal of elements in benchmark.
ENH: Proper changing of elements.
TST: Add test making sure we add and drop new fields correctly in RollingPanel.
BUG: RollingPanel was not correctly deleting obsolete items.

Also speeds up prior behavior up 10x due to concatenating Panels instead of .update()ing them.