Added PHPUnit 4 support for the mongo test trait.

Uses `@before` and `@after`, instead of relying on the user to alias the `setUp` and `tearDown` from the trait. This can still be done for PHPUnit 3.7, but is not required for PHPUnit 4.