Singledispatch implementation for handling readonly calendar fields

Based on @mfalesni's work in #405, a mechanism for filling calendar fields that are managed by dhtmlxCalendar.

closes #405