[DONE] [FIXED JENKINS-5622] Allow build queue list to be collapsed

Better organization of #1012 and rewrite of #1010
`id` is optional but isn't treated that way.