Pkg: don't rely on submodule for determining which are packages [#2315].

This is a small, hopefully non-invasive step towards relegating submodules
to a snapshotting mechanism, rather than a first-class part of the way Pkg
works. Hopefully this cures some of what's ailing us.
Merge branch 'master' of github.com:JuliaLang/julia