Bug 1112460 - Keyboard build script changes to optionally preload dict +autoland

Out of curiosity: can we use ES6 Set in our current Node version used for building?
If that's the case then ``layoutIds = Array.from(new Set(layoutId));`` looks neater.