Fix trailing commas, update JSCS and JSHint configs
Created by: davemevans
When I looked at CodeClimate I couldn't believe that we weren't seeing these flagged in the JSHint output. Turns out that test is, amongst others, long deprecated or removed.
I fixed the problem, then added the JSCS equivalents and removed the deprecated options in JSHint, so we shouldn't see these issues checked in anymore.