Plugin can now be compiled

To be able to compile the plugin into a working hpi, I had to update the jenkins version to 1.491. After that, I had to make some minor changes to make it compile again.