WrappedModule#candidates: return Array on JRuby >=1.9
WrappedModule#candidates: return Array on JRuby >=1.9

JRuby 1.9 has a nasty bug with `Enumerator#find_index`, which we utilise
in the code of `whereami` command.

More information on the bug: https://github.com/jruby/jruby/issues/525

Simply return an Array, formed from the original Enumerator on JRuby 1.9
and higher. This kills the efficiency, but leastwise, it will be
working.

As a bonus, remove some a junk method.

nju520/pry,nju520/pry,richo/pry,deivid-rodriguez/pry,tdg5/pry,ooohiroyukiooo/pry,sferik/pry,icebreaker/pry,josue804/debunker,jasnow/pry,raeno/pry,ooohiroyukiooo/pry,ngpestelos/pry,josue804/debunker,tdg5/pry,caporta/pry,85x14/pry,jasonm23/pry,icebreaker/pry,bronzdoc/pry,85x14/pry,jasnow/pry,ooohiroyukiooo/pry,pvdb/pry,85x14/pry,gfvcastro/pry,shockone/pry,printercu/pry,raeno/pry,ngpestelos/pry,pvdb/pry,bronzdoc/pry,tdg5/pry,nju520/pry,jasnow/pry,caporta/pry,geoffreylitt/pry,scalixte-mdsol/pry,shockone/pry,sferik/pry,geoffreylitt/pry,printercu/pry,scalixte-mdsol/pry,raeno/pry,sideci-sample/sideci-sample-pry,scalixte-mdsol/pry,jasonm23/pry,caporta/pry,shockone/pry,jasonm23/pry,gfvcastro/pry