Text this: Scintillator counters with multi-pixel avalanche photodiode readout for the ND280 detector of the T2K experiment