Added support for restricting the acceptable request method for the
form submit.
fix typos.
Merge pull request #2 from janwijbrand/master

merged my pull request for restricting the acceptable submit request method on the form. thanks for the feedback.