tools: lint for dangling commas
Lint for dangling commas in the final lines of object/array declarations.
The no-dangling-comma-on-final-line instances (over 4000) in the code base vastly outnumber the dangling comma instances (less than 80, mostly in tests). So, for consistency, convert those ~80 instances to the dominant practice.