Update function resolution to not search private and inaccessible modules
Update function resolution to not search private and inaccessible modules

When looking for functions to resolve against, we used to traverse into all
uses we found.  With the addition of private modules, we should not follow
a use of a private module unless we are in the proper scope to do so.

CoryMcCartan/chapel,hildeth/chapel,CoryMcCartan/chapel,CoryMcCartan/chapel,hildeth/chapel,chizarlicious/chapel,CoryMcCartan/chapel,chizarlicious/chapel,chizarlicious/chapel,hildeth/chapel,hildeth/chapel,chizarlicious/chapel,CoryMcCartan/chapel,chizarlicious/chapel,CoryMcCartan/chapel,CoryMcCartan/chapel,chizarlicious/chapel,hildeth/chapel,hildeth/chapel,hildeth/chapel,chizarlicious/chapel