Improve styling of type/label switcher

- Bootstrappy style with span (or a).
- First dropdown text should now appear directly on top of the label
text.
- Made a few adjustments in the coffee files to fix bugs or to make
things consistent
Merge branch 'refs/heads/57058562-improve-type-switcher' into testing