[Fix bug 1044790] Fix user availability form submission.

* Fix date parsing in datepicker initialization.
* Fix KeyError in availability form clean method.