[FIX JENKINS-22311]: Hide the list of build parameters for pending jobs

Large number of build parameters for pending jobs (e.g. gerrit triggered job) can cause unwieldy build history. This patch hides the list of build parameters by default, and shows it when a user clicks on "(pending—Build ...)". Demo: http://jsfiddle.net/jakubczaplicki/WT88W/
Use `Behaviour.add` from within `BuildHistoryWidget/entries.jelly` rather than modifying the generic layout page.