[JENKINS-21063] Badge now retrieves dryRun, version, and failedBuild info from build instead of storing it.

As a side effect, variables in M2ReleaseBadgeAction were removed which will affect builds persisted with older versions of the plugin.
Also, required version of Jenkins was bumped to 1.509.3.

Signed-off-by: Anders Hammar <anders@hammar.net>