Add the branchname to the representation of a Collection

Fix unit-test accordingly
First flask unit-test

100% coverage for the packagers related API