Add dateInput and dateRangeInput

Also:
* add initialize() method for input bindings
* cleanups for JShint