Beautify Edit form

items#update and items#create currently don't have a great way of dealing with no dates being provided, so I included a small hack that doesn't create availabilities if the form data are empty strings.