Use $opal instead of Opal
Cleanup and compliancy fixes for Enumerable#detect