Reduction of time-resolved space-based CCD photometry developed for MOST Fabry Imaging data$^*$