ros_bag 508

Reworked bag.py to provide various methods for getting info about the bag as a programmatic object rather than in string or yaml format.
Corrected, but instead I simply moved the summations into the for loop above that was already traversing the same objects.