WCF.DatePicker overall

- removed/merged redundant code
- added min-/maxdate
- added type=time
- added RTL mode
- fixes #1367