Bug 834157 - Add the support of max and min attribute for the date type input. r=rudylu

https://bugzilla.mozilla.org/show_bug.cgi?id=834157