strip off trailing commas

Turns out that the jsonminify module doesn't get rid of trailing spaces, which appear in etherpad's settings template. 

This patch naively solves #1965 by just killing the trailing commas in the results of minify.