update bootstrap-datepicker to the latest 1.3.1 (fixes #987, #873)

update bootstrap-datepicker to the latest 1.3.1 (fixes #987, #873)