Private module imports take precedence

For module Needs imports, give private module exports a
higher priority than runtime library (lib) imports. Doesn't
affect scripts, which use strict in-order precedence already.

See http://issue.cc/r3/1998 for details.
Merge pull request #114 from BrianHawley/fix-1998-private-module-precedence

Private module imports take precedence