bump org.jenkins-ci.plugins:plugin version to 1.522, this fixes a ClassCastException when syncing a template in recent jenkins versions