This can be enforced by pre-commit, but correct it separately to make it easier to review.
This gets all the purely internal references. Some uses of protomatter/Protomatter/PROTOMATTER remain, as they are references to symbols in the Protomatter C library itself.
This is a quick rename, it changes the user-facing names but not the internal names of things.