Add enter-to-submit support for input elements

Makes google-dogfooding easier.