Merge pull request #2165 from tkf/run-glob

Expand globs (i.e., '*' and '?') in `%run`.  Use `-G` to skip.
Merge pull request #2469 from avandever/master

Treat `__init__.pyc` same as `__init__.py` in module_list
cast unicode in oinspect.find_file
fix %edit foo for interactively defined variables

Effectively handles cases such as:

    In [1]: def foo(): return 5
    In [2]: %edit foo

Where `%edit foo` effectively turns into `%edit 1` by parsing the `<ipython-input-NN-…>` fake filename.
Fix doctest_run_option_parser for Windows

It should fix (part of) #2477.
Extension manager refuses to load extension more than once
Fix reload_extension on Python 3
Add test for extension loading and unloading
Extensions no longer responsible for checking if they are already loaded
Merge pull request #2474 from Carreau/bootstrap_name_conflict

fix bootstrap name conflicts
use new _winapi instead of removed _subprocess

`_subprocess` is removed in Python 3.3, and the relevant names
relocated to a new `_winapi` module.

ref: http://bugs.python.org/issue11750

closes #2471

should be back ported to 0.13.1
Merge pull request #2479 from minrk/winapi

Use new _winapi instead of removed _subprocess

New in Python 3.3, c.f. http://bugs.python.org/issue11750

Maintain existing support by falling back on _subprocess if
_winapi cannot be imported.
partial refactor, can't quite get environments working
correct environment rendering
added math typesetting example notebook
Refactored to JS standards.  Fixed Attribution.

thisStyle      --> this_style.
function foo() --> var foo = function()

StackExchange improperly attributed for Davide Cervone's
Markdown+MathJax handling.  This has been fixed.

Ref:
http://stackoverflow.com/a/11231030/122022
http://www.math.union.edu/~dpvc/transfer/mathjax/mathjax-editing.js
Add the heartbeat period to the registration reply

The heartbeat period can then be used to set the check period on the
engine side.
Rework the heartbeat checking (configureable, period from hub)

Make the new heartbeat monitor checks configureable.

Also use the heartbeat monitor period from the hub as the
value for the check period. This way you don't need to ensure
that the period on the engine side is bigger than on the hub side.
add ZMQInteractiveShell to IPEngineApp class list

so it will appear in default ipengine_config.py, `--help-all`, etc.
Run code only when monitoring is enabled

Setting up the monitor sockets is only usefull when actully using
heartbeat monitoring, so only run it in that case.