Refactor test suite
Update .gitignore
Make PHPUnit_MockObjects 1.3 compatible with PHP 5.3.3