Adding in override for getCommitId and fixing the result returned by getAffectedPaths (using some of the changes made to this file from commit 11084 by the Perforce team).
XML and JSON output for Jenkins builds using this plugin should no longer contain "null" for the commitId and affectedPaths.