Add callback for session end
Merge remote-tracking branch 'jcheng5/session-close-callbacks'

Conflicts:
	R/shiny.R
Add dateInput and dateRangeInput

Also:
* add initialize() method for input bindings
* cleanups for JShint
Add withHTML function
Add tests for withHTML