override form submission with javascript

Previously, when Enter was pressed in the textfield, the form
would get submitted. But that's not the functionality we want. We just
want the new group to be created client-side.

Fixes bnc#838696 - Hitting Enter on Adding group doesn't add a group