MDL-18375 calendar: refactored the datetime user field so that it now uses the calendar type system