Better support for moving folders and jobs in folders

See https://github.com/jenkinsci/jenkins/pull/1069 for core change. This is the plugin counterpart.