Fix problems with availability page
This merge request addresses multiple problems with the availability page:
- An alert is now correctly shown when leaving with unsaved changes
- The option is given to directly save default availability
- Extra explanation is added.
- Extra warnings are displayed when setting/saving default availability
- Sorting of the table will fallback to date on equal keys for week or day