set $MANPATH in Bundler::Runtime#setup_environment

This lets `bundle exec man ...` show man pages from bundled gems.
Handle error messages caused by missing binary libraries.
Add ENV[DEBUG_RESOLVER_TREE] which outputs the resolver tree when bundle install.
Display the Gem::SystemExitException if there is a rubygems
configuration problem
clean up gem error printing
Correct Thor error name
Revert "refresh so that `bundle exec bundle -v` works again"

This reverts commit 7b748268997d7522c1b3507b52ce61e7716b2e42, and thus
fixes #2454.

The refresh doesn't seem to be necessary... though the original commit
was a bit vague on exactly what it was setting out to fix.
Run gem installation in parallel
Add "--jobs, -j" option
Prohibit Dir.pwd while another thread is doing Dir.chdir
Improve messages for multi-threaded installation
Don't start additional thread if jobs == 1
Remove unnecessary chdir to improve concurrency
Fix to use SharedHelpers.pwd
Run installation in multiple processes unless host_os is Windows
Move constants to use it from SharedHelpers
Report exception to parent process
Fix to report post_install messages
Display Gemfile dependency info in bundle outdated output
Output outdated gems specified in Gemfile before those only in Gemfile.lock