add `npm view .`

Fixes #5520

This adds back the ability to run `npm view .`. If a package.json
exists in the cwd, it reads it to get the name and author. It fetches
the package from the registry. If the local package.json has an author
field, it validates that the author of the local package matches the
author of the fetched package.

Includes multiple tests for `npm view`
The way I was thinking (and please tell me if this is crazy) was say I have a project called `bumpit` that I wanted to get info from. There is already a `bumpit` in the registry. So I wouldn't want to view info from the `bumpit` in the registry since I'm looking at my local `bumpit`