Updates Travis configuration.

2.2 is old and pretty sure the master branch of this repo will fail on 2.2 when all the 2.4 fixes have been added. Maybe add a dedicated 2.2 branch (later), with a separate travis configuration especially for 2.2?

Also include PHP 5.5 for testing.