Remove nearly all of src/common/util.h and src/common/compat.h

I'll be honest here: When I started on this branch, its name was freestyle_refactor