bin_path checks gem name as well as the availability of named bin.

Fixes #2644. Also tests the functionality of binstubs.