Fix the locale so tests are deterministic.

Pulled out of https://github.com/apache/incubator-brooklyn/pull/211 (after merging with https://github.com/apache/incubator-brooklyn/pull/220) to fast track the merge to master.