Added mixins for tight form groups in tables

Using it in the TableSorter.

It might seem overly complex for what it is (the mixin chain, that is), but at least it's clean and flexible. We could revisit it in my upcoming CSS overhaul if we wish.