Fixed week calculation logic for all locales.
Cleaned deprecated GWT API methods to use non-deprecated ones.