webidl-check: Harden against XSS.
webidl-check: Refactor request setup.

This eliminates some code duplication, and reuses some code from
htmldiff, so we already know it works.  I also switched from the
deprecated new module to the types module.
webidl-check: Refactor IDL error handling.

To remove duplicate code.
webidl-check: Remove CVS cruft.
Merge pull request #13 from brettcs/refactor-2014-02

Minor refactoring
webidl-check: Avoid bad parameter inputs.

There's two halves to this commit:

* Specify an action for the POST form.  This prevents values from previous
  GETs being carried over to new form submissions.

* Use the fields.getfirst() method to ensure we get exactly one value.
Merge pull request #12 from brettcs/audit-2014-02

Security fixes