check current working directory for composer.json

this might be a fix for #1405. This will only work when you execute phpdocumentor from you project root. 

Bad thing, impossible to test with a unit test.