Added datepicker to new and edit method of substitutes. Fixed bootstrap javascript error.

Also set validation of presence of substitute’s title.