[api] When branching a package, copy repository linkedbuild, block, and ...

...rebuild attributes.

Fixes issue #269

Tested here with obs 2.3.8 branching both a project with repositories with those attributes and one without. Both worked as expected.