support passing the external ring object and ring types to RingForHomalgInExternalGAP

This is a temporary implementation to support SingularForHomalg.
It should be replaced by a better implementation for all RingForHomalgIn*
using an option record.
added PartiallyReducedBasisOfRowModule/ColumnModule to SingularMacros and MAGMAMacros

and added corresponding inactivated (i.e., X_'ed) entries to
CommonHomalgTableForSingularBasic and CommonHomalgTableForMAGMABasic