Add convenience methods for counting packages & distributions on stack.

I'm trying to hide as much of the DBIC stuff as I can.
This test had become broken when I renamed Commit -> Revision.
Convenience methods for counting dists and packages.

Also, convenience methods for begin/rollback/commit transactions.
These also serve to hide as much of the DBIC internals as I can.
Use convenience methods during testing.