Addition of timegm() and associated tests.
Transfered scope of cldr variable from global to local.