Make HTMLFormElementHelpers::submit take an enumerated argument instead of a boolean

Fixes #3677
auto merge of #3710 : gilles-leblanc/servo/issue-3677, r=jdm

...of a boolean

Fixes #3677