bump org.jenkins-ci.plugins:plugin version to 1.522

this fixes a ClassCastException when syncing a template in recent Jenkins versions 

(the bug is present int 1.522, but not in 1.509.1)