Restored ipython profile locate dir and fixed typo. (Fixes #3708).
Changed ipython profile locate foo -> ipython locate profile foo in docs
Remove 5s wait on inactivity on GUI inputhook loops

The 5s (and 1s) waits were originally added in commit 5074878, but the 5 second wait meant if you left the console for 5+ minutes idle, it would
take up to 5 seconds for a response to a keypress. This tradeoff of CPU
cycles for battery life seems too far.

Note that commit 5074878 was originally for wx, glut and pyglet are based
on the wx version and came into existence after commit 5074878.
Fix traitlet _notify_trait by-ref issue
Added test for traitlet notify by-ref fix
Merge pull request #4412 from jdfreder/traitlet_notify_fix

Fix traitlet _notify_trait by-ref issue

This fixes a problem with the existing traitlet machinery, where anytrait values get added to the notifiers list every time the _notify_trait function is called.

The bug is that each time the traitlet changes, the anytrait callbacks will each be called N times, where N is the number of times the traitlet has been changed (in the current application instance).
Merge pull request #4400 from jonahkichwacoders/remove_5s_wait

Remove 5s wait on inactivity on GUI inputhook loops

1s should be enough
Specify unicode type properly in rmagic
Merge pull request #4413 from minrk/sphinxext

don't instantiate IPython shell as class attr
Merge pull request #4414 from takluyver/rmagic-unicode-type

Specify unicode type properly in rmagic
Merge pull request #4371 from astrosilverio/master

Restored ipython profile locate dir and fixed typo. (Fixes #3708).
Windows testing fixes
stat has no st_flags on Windows (maybe elsewhere?)
send ignored output to devnull

rather than PIPE, since Windows pipes can fill up.
py3k bytes, for crying out loud
s/os.path.sep/os.sep/
tweak stat walk in forbid_hidden
Merge pull request #4303 from ipython/multidir

Add multidirectory support for the Notebook.

Major change to URL schemes in the notebook server,
documented in [IPEP 16](https://github.com/ipython/ipython/wiki/IPEP-16%3A-Notebook-multi-directory-dashboard-and-URL-mapping).
put back missing new_figure_manager
Merge pull request #4419 from minrk/inline-no-mpl

define InlineBackend configurable in its own file