Bug 1040270 - If an add-on has a ./package.json file, then call it a jetpack

Using the separate method makes this more expensive as you do more file stats than necessary. Probably simpler to just check for package.json then set useJSON to true, then if not file.leafName = FILE_INSTALL_MANIFEST then test again.