Fixes to wcs/test_extension.py

If compilation of the test extension fails, mark the test as skipped,
since it probably just indicates the user doesn't have a working
compilation environment.

Don't ever skip on Travis, since a failure there indicates something
more serious.

In response to some of the user reports about 0.4rc1 in #1802.