[JENKINS-32064] Support for Multiple SCMs Plugin
- add optional dependency on multiple-scms
- add helper method for safely casting SCM object to PerforceSCM instance, especially in the scenario where the SCM object is a MultiSCM instance
#review-20167 @paul_allen