deform2: Fix “input groups” for bs3

This was originally part of Pylons/deform#187.

I'm not sure how worthwhile having a general API for this input-group thing is, but if it’s there, it might as well work.