Reject Ace modes that are lacking a mode

@aroben suggested that the  `ace_modes` API only return valid entries, and I agree. This makes iterating over the list easier. 

/cc @github/languages