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.   Someone who has admin bits on the github barnowl repo will need to enable Travis CI at https://travis-ci.org/profile/barnowl.