Started implementing changes to creating availability: NOT FULLY FUNCTIONAL
Creating split availabilities now works.

createAvailability.php: updated to use mysql stored procedure to create
split availabilities.
createAvailabilityStoredProcedure.txt: mysql script to create stored
procedure (not needed, but saving just in case db gets wiped or
something).