Fix for #3719

%-d is not a valid strftime format on windows.
add delay to autosave in beforeunload

allows forceful 'discard changes' by reloading the page and dismissing the warning,
which @fperez really wanted today.
remove notebook read-only view

it is largely broken, and had problematic security issues.
Add link_or_copy to IPython.utils.path
Use link(2) when possible in nbconvert
Fix a couple typos
Add cwd to sys.path
This makes transformers and filters in the cwd load
from dotted object names.
Better name `init_syspath`
py3 doesn't have nested, py2.6 doesn't have multiple context managers
add signature_scheme to Session and connection files

also change default hash to sha256 instead of md5, since md5 is bad.
(this is the main motivation)
propagate signature_scheme config to parallel connection files
document the wire protocol
Added rm_math_space to markdown cells in the basichtml.tpl to be rendered ok by mathjax after the nbconvertion.
cleanup terminal console iopub handling

ensures IOPub for a given cell is handled before drawing the next prompt.

Follows logic elsewhere using `status=idle` to signal end of output for a given cell.
Prior to this, early execute reply could result in some output being printed after the prompt for the next input.
remove unused current_msg_id
relax wait_for_kernel timeout

wait_for_kernel should be done very differently,
but I'm not certain exactly how.
Add configurability to  tabcompletion timeout

In zmqconsole, change default from 0.5 to 5 sec.

fixes 3768
Organized reveal's templates.
update px pylab test to match new output of pylab
Add reveal/*.tpl path to setupbase.