Don't check if the job exists if we are going to ignore the result

Now that we're lazy loading builds, calling getBuildByNumber is not cheap.
So evaluate the 'ignore' flag before trying to load the build.
Noting #689.
Observed an NPE printed during shutdown.
Observed repeated NPEs printed during shutdown.
java.lang.NullPointerException
	at hudson.model.listeners.RunListener.all(RunListener.java:216)
	at hudson.model.listeners.RunListener.fireFinalized(RunListener.java:196)
	…
Added testcase for [JENKINS-16499]
[FIXED JENKINS-16499] Assuming that:
- save() is not strictly necessary here. config.xml might be saved later or not - doesn't really matter
- this else branch should only be entered when migrating from very old Hudson instances
Changelog and fixed test for [JENKINS-16499]
[FIXED JENKINS-16554] Restored Java 5 compatibility by downgrading to commons codec 1.6
creating an RC branch
the trunk is toward 1.502-SNAPSHOT
Found a log file full of IAEs from ModelObjectWithContextMenu.MenuItem due to an (unknown) action with an illegal absolute URI.
Added @since.
(Method actually introduced in 1.461, but was wrong—corrected in 1.462.)
Use ${resURL} for ${attrs.css}.
[FIXED JENKINS-16651] Broken Filter field in Plugin Manager.
API for updating update sites programatically, enabling automated plugin updates and installation.