Form date masks

1. Fix masks for the javascript datepicker (it uses `y` and `yy` now instead of `yy` and `yyyy`)
2. Add the `data-mask` attribute to the input element, so you don't have to set it manually after a `setMask()` call.