Support 'osc copyprj' in api by Islam Amer
 usage:
       osc copyprj SOURCEPRJ DESTPRJ

A way to copy a project and all packages in it
It can not yet be done across buildservice instances
The user must be able to create DESTPRJ

Signed-off-by: David Greaves <david@dgreaves.com>
Support synchronous copyproj
Add -p to copyprj to enable copying of prjconf
Add support for --rebuild and --chroot-only in build.
--rebuild sends --skip-prep to build and rpm to skip the %prep phase. This is useful in conjunction with the --rsync* options to enable rapid rebuilds in the clean rpmbuild environment.

--chroot-only creates a chroot without doing a build - this can be used to build scratchbox2 targets
Add architecture and scheduler maps

Makes preferring local packages with armv8el and i486 OBS schedulers
work. These mappings armv7hl/armv7tnhl -> armv8el and i486 ->
i586/i686 only affect the "get-preferred-packages" evaluation that is
used when the -p or --prefer-pkgs option is used with the osc build
command.

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>
Trap any kind of exception during plugin parsing (eg IOError for a dangling symlink)

Signed-off-by: David Greaves <david@dgreaves.com>