Add a tool to automerge commits to external repos and local branches

For further details check out the source code file.