add view funtion to browserlib
fix up glyph file examples
Merge branch 'session_refactor' of github.com:ContinuumIO/bokeh into session_refactor