Implement Generic CSP 1.0 tests for the 'self' keyword.

This branch implements tests 0.2, 0.2.2 and 0.2.3 of the "Generic Test Assertions for CSP 1.0" test plan.

See http://www.w3.org/Security/wiki/Test_Assertions_For_Content_Security_Policy  for the entire test plan.