Whether a group is electron donatiing or electron withdrawing depends on a number of factors, and not just on inductive effect. In case a methoxy substituent is attached to an sp2 carbon (it can be a carbocation too, note that), the lone pairs on oxygen can move. Draw the resonating structures and convince yourself that due to resonance effect, methoxy group can act as electron donating. Now, usually for methoxy group it is found that resonance effect is much more pronounced than the inductive effect, and hence it can act as an electron donating group when there is a scope for the lone pairs on oxygen to 'move' . As for the comparison between SCH3 and OCH3, well, both oxygen and S belong to the same group on the periodic table(conclusion about electrons?) Which one is more electronegative? Use that fact. I do not think the compound CH3OCH2Cl that you posted is at all stable. Single bonded oxygen and halogen on a single carbon are often very unstable.