Support Jenkins 1.466.
Ignores javascript errors on management pages cause by Jenkins core < 1.487
[FIXED JENKINS-25348]

Added necessary additions.
Now the clients of this plugin needs to be modified to use this newly added method.
Adjusting the way we attain compatibility with 1.466 and newer versions at the same time.
Merge pull request #3