Rewrote detect method so the search for composer.json & composer.lock is broader.  Added tests to confirm it works.