Upgraded phpunit

This upgrades us to phpunit 4, and also updates the other dependencies.