Test rewrite, round 1: Include new skipif.inc

In order to make fixing the testing system easier, most of the
--SKIPIF-- statement is now kept in /tests/skipif.inc.