Convert automerger to TypeScript and add tests Google-Bug-Id: b/200047405 Change-Id: Ia24c1b7ac489217bc9de9db5b3e715461c445035