Improve Travis PR diffing

Slightly better detection of changes when travis is building a topic branch that's been merged into master. Greenlight on personal travis queue