Travis: record some basic information about the build platform

The question has come up sometimes about how much memory etc. we have available for Travis builds. Let's just log the relevant resource limits at the top of every build log.
Merge pull request #3109 from njsmith/travis-check-sys-info

Travis: record some basic information about the build platform