[Fix bug 1044790] Fix user availability form submission.

* Fix date parsing in datepicker initialization.
* Fix KeyError in availability form clean method.
Merge pull request #792 from johngian/1044790

Fix form validation in user availability edit page.