add ignore parameter to resolve callback

If ignore is specified, required will not process dependencies for the
returned path.
0.3.0