Errors in weekdays fixed
* getDateNames should return (Sun - Sat) in all locales
* getFirstDayOfWeek should return 1 for Sunday and 2 for Monday
* bunch of jsHint fixes
Merge branch 'fix_dateNames_and_firstDay'