Allow all version/date-returning methods to take a gem name

This really shouldn't be used in general, but it's rather necessary for GVB
to be able to find its own version when running as a gem inside another
gem, otherwise it doesn't know who to give the version for.