Ensure, that only specific input/button types are allowed to submit forms

Related to #29.

Tests will fail, but this is due bug in #41, which `reset` button is treated as `submit` button.