Allow for more flexible grid css class names.

Move the logic that generates the grid class names into overridable
functions. For instance, you may wish to remove any col-breakpoint-size
classes from the HTML and use Bootstrap’s grid helpers to roll your own in
CSS. Or you may want to provide alternative column spans for different
breakpoints, which the current implentation doesn't allow.