Corrections and cleanup of DM-1067 checkin

Based on line-by-line comparison with MEAS_ALGORITHMS to match namespaces
Note that all of the code which is above lsst::meas::base is now in detail,
including SdssShapeImpl