register is now done withing a transaction.
register is now done withing a transaction.

This speeds up a lot registration of large packages like boost-libs etc

Spotted and hunt by:	avg

khorben/pkg,en90/pkg,khorben/pkg,Open343/pkg,en90/pkg,junovitch/pkg,skoef/pkg,khorben/pkg,skoef/pkg,junovitch/pkg,Open343/pkg