Add support for maven2/3 projects; updated plugin version

Currently, the plot plugin can not be used in maven 2/3 projects.
However, I have discovered no real reason for this, all I had to do was exchanging AbstractProject for Project and AbstractBuild for Build.

Then, to check that the change also works for a current jenkins version, I have updated the jenkins plugin version to the new LTS jenkins version.