Travis CI

This adds support for the free Travis Continuous Integration service.  It also defined `_XOPEN_SOURCE_EXTENDED`, because that's apparently needed.  The comment on `_XOPEN_SOURCE_EXTENDED` comes mostly from davidben.