Add per-commit formatting check to CI
I was unable to find a satisfactory way to run the cargo fmt
check against every commit since master, but I'd really like to enforce this on each commit, to avoid a situation where people who haven't installed the pre-commit hooks adding a "cargo format everything" commit in the history.