bug #2506 Datepicker displays wrong week numbers

fix bug #2506 Datepicker displays wrong week numbers
also fixing the unit test.
correct ISO week numbers are here:
http://www.epochconverter.com/date-and-time/weeknumbers-by-year.php?year=2010