BUG: Only set _analyze to None instead of noop.
ENH: Run code in the IPython namespace by default.

Also adds an option --local_namespace which runs the code
in a separate, local namespace. This might be useful for
when we add Quantopian support and code has to be self-contained.