Fix for #3325. localizableStrings is no longer an array

At some point, we changed localizableStrings from an array to a dictionary. This broke findElementById's lookup by localized key. I've fixed that issue and also added a unit test for the ios device that make sure that the parsed localizableStrings match what we expect.