AliSplit: rewrite history

First attempt. This script will change history by removing files and
saves references under refs/origin/ (in general, refs/whatever): in
other words, it does not change the remotes remotely, but it changes
what your local clone thinks is in the remote