Remove stray surrounding whitespace from css class name(s).

Elements are often wrapped in a div with `class=" form-group "`. This simply trims the extra whitespace around the class names.