make "base" depend on "racket-lib"

The "racket-lib" package has dependencies on native libraries
that are useful to the base libraries (currently only on
Windows).
fix problem with inferred package scope

When the user-scope package database hasn't been created, a
parameter to avoid changing the database without a lock
was interfering with other scopes.
raco pkg install: fix problem with version-triggered updates