Added testing on PHP 5.2 and 5.6 on Travis

According to @GrahamCampbell in #450, Travis supports PHP 5.2, so this will avoid breaking compatibility with it by mistake (once you drop support for 5.2, it can be disabled)