Port script to build whitelist from AMO, and updates the hashes (bug 967724)