Travis script: some changes

- test the specific changed package versions
- use autoremove
- simpler check for package availability
- replace 'grep | sed | grep | awk' with a single 'sed'
Update travis script to apply opam version compat before testing on <1.2