Mardak/profile — pull request #45 by Mardak (2014-02-11 12:51:46+00:00)
Title: Fix incorrect locale pref reading

Reopen #44 (and original #42). @PinZhang, the test changes causes errors. Seems like the "locale" field is undefined after switching to getLocalized ?

```
console.error: firefox-personalization-study:
fail:
unexpected payload data - [
"hasSurveyInterests",
"installDate",
"interests",
"nytUserData",
"nytVisits",
"payloadDate",
"prefs",
"source",
"tldCounter",
"updateDate",
"uuid",
"version"
] == "hasSurveyInterests,installDate,interests,locale,nytUserData,nytVisits,payloadDate,prefs,source,tldCounter,updateDate,uuid,version"
console.trace: firefox-personalization-study:
_ecated/unit-test.js 87 fail
_/sdk/test/assert.js 88 fail
_/sdk/test/assert.js 124 equal
_dy/tests/helpers.js 21 do_check_eq
_dy/tests/helpers.js 43 isIdentical
_/test-Dispatcher.js 150 test__Dispatch/