tests: initial port to the gtestutils framework

Some programs need to be split up into more tests, and the debug
output is mostly not updated for the new format.
tests: Add resources/* to soup-test.gresource, add utility functions

Add the files in resources/ to soup-test.gresource, and add
soup_test_load_resource() to get the contents of one of them, and then
use this in places that were previously reading them by hand.

Except forms-test, which needs to pass a filename to curl, so have it
use index.txt instead of one of the resource files.

Now none of the tests access the resources/ directory at runtime.

Also add soup_test_get_index() to read index.txt rather than
reimplementing it in multiple test programs.
tests: use TAP, and install the tests

Import glib-tap.mk to run the tests in TAP mode, and to provide rules
to install the tests.

This required some restructuring of httpd.conf-related stuff in order
to come up with a configuration that would work for all three cases
(srcdir==buildir, srcdir!=builddir, and installed).
SoupConnection: Explicitly set SoupAddress protocol.

So GProxyResolver can distinguish between "http" and "https" requests,
and choose the appropriate proxy settings.  Previously the SoupAddress
protocol was left unset, so soup_address_connectable_proxy_enumerate()
assumed "http".

https://bugzilla.gnome.org/show_bug.cgi?id=724316
sniffing: Document the specification we are targeting
sniffing: Implement the check-apache-bug flag

Run the text or binary algorithm when some specific text/plain Content-Types
are provided, since older versions of apache would send that type for binary
files. http://mimesniff.spec.whatwg.org/#dfnReturnLink-0
sniffing: Implement handling of the X-Content-Type-Options header
sniffing: Adjust the general unknown MIME type algorithm

This change adjusts the pattern matching table to the current form of
the MIMESNIFF spec, adding a check for a tag-terminating byte and
using the formally defined sniff-scriptable flag.
sniffing: test that it allows leading whitespace in doctype headers

https://bugzilla.gnome.org/show_bug.cgi?id=715126
sniffing: Add comment to the XML types bit
sniffing: Bring feed vs HTML up-to-date with the MIMESNIFF spec

* decide on that before doing the image sniffing to match the spec
* use const char* and g_str_has_prefix for comparisons to make it
  more legible
* deal with rdf:RDF tags
sniffing: Bring image sniffing up-to-date with the MIMESNIFF spec
sniffing: Add audio/video sniffing
Merge branch 'content-sniffing-update'

Update SoupContentSniffer (and sniffing-test) to match the current
version of the MIME sniffing spec.

https://bugzilla.gnome.org/show_bug.cgi?id=648849
https://bugzilla.gnome.org/show_bug.cgi?id=715126
tests: skip individual tests rather than whole test programs

Use g_skip_test() to skip individual tests rather than just returning
status 77 from the test program as a whole.

In several cases, we still end up skipping more than necessary, due to
test cases that need to be split up more.

Remove the "MISSING_REGRESSION_TESTS_PACKAGES" functionality, since
the skipped tests are now pointed out explicitly.
2.45.90
Move to the platform category