Add labels to all the linter warnings and errors

Every warning and error should now begin with [CATEGORY]. Updated a
bunch of tests as well to check that these are included.

Still a bit of a WIP, but this should make @Keithbsmiley a bit happier.