Quantum phase transitions and commensurability in frustrated Josephson junction arrays