datepicker and modernizr.js

fix #29 - prefills input
fix #15 - uses datepicker if type="date" unsupported (checking with
modernizr.js)