Use type="date" for the DateFields.

A check is made to know whether the browser supports this feature.
Merge branch 'master' of github.com:heldergg/dre