Updated Travis CI tests to work with new PHP Extension handling.

Travis CI made changes to which extensions were installed by default, which required some changes on this end. This simplifies things quite a bit.