Adding datepicker

Including bootstrap-datepicker. Other fixes.