Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.