Persist ShelveProject property whenever the job is updated

This fixes https://issues.jenkins-ci.org/browse/JENKINS-10544