add %%javascript, %%svg, and %%latex display magics

adds %%latex example to notebook tour
Make glob expansion default in %run magic command
install mathjax to profile by default, instead of IPython tree

The destination is now configurable, and the default no longer requires admin access.

Also defaults to current mathjax 2.0
Add a metadata attribute to zeromq stdout/stderr stream messages
Make session subheader default configurable
Pass the header of output and clear_output messages to javascript callbacks
Add an optional metadata attribute to all messages and add a session-level default metadata attribute.
Revert "Add a metadata attribute to zeromq stdout/stderr stream messages"

This reverts commit c32771c742bc2da61861461160b121d89ec4b38e.
Set default metadata for javascript callback
Make top-level metadata dictionary not optional.
remove sub header from Session
migrate subheader usage to new metadata
add metadata to javascript msg spec implementation
Merge pull request #2092 from bfroehle/prun_print_stats

%prun: Restore `stats.stream` after running `print_stream`

When profiling, the output from `print_stream` is captured so that the output can be paged. To do so, the `stream` attribute is set to a `StringIO` object but was not restored after the output was captured. As a result, the stats object returned by `%prun -r` did not display any output when calling its `print_stream` method.

In addition, the `pstats.Stats` class has the `stream` attribute for all currently supported Python versions (2.6, 2.7, and 3.2, at least), so the extra branch of code can be removed.

Closes #2091
Merge pull request #2116 from Carreau/tweek-notebook-tour

different images in 00_notebook-tour

use Berkeley webcam for soft-link/embedded difference illustration.
Merge pull request #2181 from minrk/displaymagics

add %%javascript, %%svg, and %%latex display magics
Merge pull request #1471 from minrk/connection

simplify IPython.parallel connections and enable Controller Resume

Rolls back two-stage connection info, putting more information into the connection files. This makes it easier to use hand-crafted ssh tunnels, as all ports are read from the file, rather than from the reply to registration/connection requests.

It is no longer possible to connect to the Controller without a connection file.

Adding the serialization method to the connection file also makes it harder for custom serialization to result in a mismatch in configuration between the various objects.
Merge pull request #2051 from jasongrout/stream-metadata

Add a metadata attribute to messages

subheader is removed in favor of the new metadata dict,
reducing degeneracy.
Merge pull request #1831 from steverweber/fix_1814

set `__file__` when running .ipy files

closes #1814
Implement bare %pylab switching back to appropriate GUI.