Finished TripDatabase.
Removed now unused helper methods from tests.
Removed unused getters from DatabaseRule.