Update to GEM config best practices.

Added travis-ci support as well.