Issue 926: Allow to customize datepicker, timepicker and
datetimepicker with custom attributes.

Doesn't break backwards compatibility as variables are only checked
for 'defined' and not for their value.

Update documentation.