Upgrade bootstrap-datepicker and refactor date control accordingly

This also ports the date control from coffee to JS

Signed-off-by: Don Naegely <naegelyd@gmail.com>