CLN: remove util.counter, duplicates compat
BLD: travis, Install apt-get deps first
BLD: travis, future-proof pip args
Merge pull request #6017 from y-p/PR_cln_counter

Remove duplicated code and fix travis