Refactor common stuff from p4 to be shared with svn
Refactored code from p4plugin to be reused for other plugins e.g. svn. Prepared framework for nonstreaming
plugins like the subversion one will be.
Subversion plugin. Still needs thorough testing.
add temporary test script for now