Added a functional test for testing bad XFrameOption.
Merge pull request #20 from yeukhon/plugin-functional-tests

Added a functional test for testing bad XFrameOption.
Added functional tests for deny,sameorigin, and allow-form for xframe plugin.
Fixed #21. ALLOW-FROM is added to XFrameOptionsPlugin.

This PR addresses ALLOW-FROM not included in our plugin according to
X-Frame-Options on MDN. We also follow the recommendation and
(https://bugzilla.mozilla.org/show_bug.cgi?id=836132#c28). We will
reject values  with colon and values without proper http/s prefix.

Furthermore, some functional tests have been written to test
XFrameOptionsPlugin.
Added nose to test setup.py.

Most people don't use 'python setup.py test' so 'tests_requires' is
included as part of install_requires at installation time. Furthermore,
running 'python setup.py test' will install testing packages locally in
the CWD; doing so will clutter the CWD and may introduce limitations as to how to upgrade testing packages.
Merge pull request #24 from yeukhon/setup-py-addition

Added nose to test setup.py.
Merge pull request #23 from yeukhon/plugin-functional-tests

Fixed #21. ALLOW-FROM is added to XFrameOptionsPlugin.
Refactored plugin test class; added alive plugin tests.

In this commit we have refactored out a generic test class for
performing functional tests. This allows us to quickly build test class
for each plugin.

A test class is also built for AlivePlugin.
Working on HSTS functional tests.

1. Our implementation of using CURL is not recongizing HSTS
from https://paypal.com

2. We need to think about how to construct a test server with trusted CA.
Distribute a system-wide cert is okay, but we might require users to
actually generate their own if they wish to execute those (think about
automated testing internally within Mozilla.
Fixed #7 added tests and fixed #27 bug on X-Content-Type plugin.

In this commit, a set of functional tests have been written for
X-Content-Type plugin.

Furthermore, we have fixed bug #27 in XContentTypePlugin. We now
consider both upper- and lower-case header name. At this point, we are
case-insensitive when it comes to checking the value of the header. This
is related to ticket #28 and shall be discussed.

Lastly, we also added a function to kill ports (1234, 1235, 1443) in
``setUpClass`` and ``tearDownClass``. Apparently, some of the test
classes were unable to be killed properly from calling ``.terminate()``.
This will be revisited at some point.
Merge pull request #25 from yeukhon/aliveplugin-ftests

Refactored plugin test class; added alive plugin tests.
Merge pull request #29 from yeukhon/hsts-ftests

Working on HSTS functional tests.
Merge pull request #30 from yeukhon/xcontent-ftests

Fixed #7 added tests and fixed #27 bug on X-Content-Type plugin.