Removed 3.1 from travis.

They don't support it any more.

I might have broken the compatibility, but I have no way to know. I'm
still open to reports and contribution, if someone wants it.