Detecting composer.json file to use. (fixes #3)