Change select boxes to radio buttons for mapping type selection

- Radio buttons make switching between types when editing a mapping
  easier. It's one click rather than 2/3, and you can see the options
  sooner. This has been a minor usability problem in user research.

(Thanks to @elliotcm for helping to get the JavaScript working with radio buttons.)
Oops, yes. These When -> And changes were left over from something I was trying where there was a new When line above it.