The Bremermann-Dirichlet problem for q-plurisubharmonic functions