PYTHON-6031Ready for Work
Consolidate non-IO code in _AggregationCommand into shared base class
All methods except {{get_cursor}} can be lifted out of {{_AggregationCommand}} and its related classes into shared base classes. Note that {{_CollectionAggregationCommand}} and its ilk cannot be easily lifted due to multiple inheritance, but the class's small size makes it an acceptable duplication.