Add PHP 5.4 to Travis configuration

By switching back from generators to iterators in the readers
we can be compatible with PHP 5.4 again