Classical and quantum phases of the pyrochlore S = 1/2 magnet with Heisenberg and Dzyaloshinskii-Moriya interactions