Bug 921939 - Support launching localised apps by name

Credit to @zacc for the solution here, I just helped with some of the JavaScript. This will need squashing before committing, and also needs further testing.