ENH: Adds a new `api_method` called `get_environment` so that users may
check if their algorithm is running in zipline or on Quantopian.
Merge pull request #384 from quantopian/q-or-zipline

get_environment api_method