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

Better organization of #1012 and rewrite of #1010