Fixed bokeh_magic to be compatible with session refactor branch and to make hold mode activable-deactivable.
Merge branch 'session_refactor' of github.com:ContinuumIO/bokeh into session_refactor