remove dead code
prevent a crash when a package file specifies a name, but not a version
allow any file to be used as a package or README file (#708)
use the non-deprecated property for license info
extract more information from package.json files; add tests (#710)