p4_dscm. Add support for full P4 sync.

Will only use full sync if there is an issue with performing per CL sync -
out of order sync history.
In the future this will be changed to use git to reorder commits so the
git history matches the p4 history.
This change also includes minor fixes to the per CL sync.