New API

Vcrepo can now be driven by an API including the triggering of Sync processes with resolves issues of shell scripts being run by users different form that of the web server resulting in file permission issues etc.