[FIXED JENKINS-20506] expose project actions of pre- and post- builders
remove hpi version definition
Use a finally block to delete temp files created by MavenArtifact.getFile.
When using StandardArtifactManager, fall back to original implementation of getFile which does not require a temporary file.
Necessary to avoid a temp file leak when using the CloudBees Deployer plugin, especially the Deploy Now column.
Site build tests are currently timing out for me; do not fail the test case in this situation.
Make the $job/site link behave sanely when target/site/index.html is missing (perhaps due to maven-site-plugin failure).
Fixing regression in 2.0.2 that RedeployPublisher would delete artifacts from the build after running.
Also generally improving backward compatibility for 1.x → 2.0:
when using a StandardArtifactManager, File’s directly in the artifacts dir are used as is;
otherwise they are copied to temporary files iff someone needs them that way,
and Closeable is used to clean up (which will look nicer when -source 7 is available).
Conflicts:
	src/main/java/hudson/maven/reporters/MavenArtifactRecord.java