Fix `npm ls` with --depth=x option

1. correctly mark unmet dependency when depth === maxDepth
2. no longer output ERR if depth === maxDepth and dependency is met

NOTE: this fix requires this PR for the `read-installed` package
to be merged: https://github.com/isaacs/read-installed/pull/10