When the programmatically disabled `<fieldset>` contains an `<input type="date">`, the date input should also be rendered as disabled and the calendar button should be hidden.
This patch also refactors the date input's code and updates the tests affected by the refactoring.
Differential Revision: https://phabricator.services.mozilla.com/D194271