Frattini and related subgroups of mapping class groups