Replace the WordPress the default category metabox with radio buttons

Justin Sternberg posted on the WebDevStudios blog a code example for changing the default hierarchical taxonomy metabox (like for categories) into a radio button select box. This is very handy for limiting end users to choosing only one taxonomy term.