Added a test covering the selection of radio groups with HTML5 form attr

This ensures that the handling of radio groups works even when the radio
elements are using the form attribute to be placed outside the form
itself.
Merge pull request #558 from stof/html5_radio_group

Added a test covering the selection of radio groups with HTML5 form attr