ensure scp destination directories exist (with mkdir -p)

in SSH launchers.

As described in #3411

closes #3411
Add edit/command mode indicator.
Adding PDFFormatter and kernel side handling of PDF display data.
Adding support for multiple figure formats in InlineBackend.
Making figure_format config=True.
Adding top level IPython.display.select_matplotlib_formats.
Docstring improvement.
Refining the matplotlib APIs in IPython.display.
Adding basic append_pdf in OutputArea.
Spinning sun + nothing for command mode.
Moved notebook tests around.
Move tests out into parent directories
Added notebook and widget test groups.
Glob fix so directories aren't accidently treated like files
make tests actually run
Merge pull request #12 from ivanov/js-test-refact

make tests actually run
allow testing individual js files

all casperjs/ subdirectories now treated as test categories
fat fingers

don't laugh. it's a serious problem.
make execute button in menu bar match shift-enter

Noticed this when testing the UI on the IPad.
I expected the button to perform the default execute behavior,
but it doesn't.
remove %pylab from pylab-switching