Added PhpStorm files to .gitignore
Added Mockery init to phpunit.xml
Various fixes to QueryBuilder classes for tests