Fixed JENKINS-17546

Added new trigger BuildingTrigger that is triggered on the transition
from Failure to Unstable.