Superceeds Pull request 199, Skip tests for features that aren't compiled in

Includes the changes to to split the libtiff tests from the builtin tiff tests.