Allow filename with extension in find_cmd in Windows.

closes gh-3316 (hopefully)
Add a mode to exec code in %debug magic
Document the new usage of %debug
Drop patch for compatibility with pyreadline 1.5

Closes gh-1307
Set calling program to the empty string, when argv not in sys

It might happen, then the sys module has no argv, when embeding IPython
into other programs with IPython.embed(). In that case, just set the
calling program to "" or other logic in IPython will crash - for
instance when checking for command line arguments.
add create.Cell and delete.Cell js events

The events fire after the cell has been created or deleted.

closes #3154
Added shorcuts to split cell, merge cell above and merge cell below.
don't blacklist builtin names

it is wholly appropriate for a class to have a `format` trait, or similar, but Config prohibits it.

This just removes that prohibition.
update config builtins test
Added '-' as a shortcut for splitting cells.
Markdown in heading cells (take 2)

small typo prevented the previous implementation from working.

This also moves the rendering to the 'render' method,
away from set_rendered.

closes #3053

(again)
truncate invalid multi-line headers
merge heading lines

markdown headings must be a single line
remove unnecessary heading-anchor

residue from when the heading text itself was a link

the id is on the header tag itself,
and the link is anchor-link
allow extra pandoc args
use mathjax-style for math passing through pandoc to html
add html_text and add_anchor filters

- html_text is like $(element).text
- add_anchor add the anchor url and link for heading cells
enforce  single-line heading cells in templates
use plain markdown for headings in base latex

addresses the fact that many generic markdown operations are not allowed within settings, and pandoc will handle these.

Sphinx still has its overrides because it needs to change the level mapping.
expand ANSI color support

adds support for 256 colors

does not yet add support for themed 16-color mapping ([01;38;5;[0-15])

closes #3617