small changes to lib/nodes.rb

Since Structs have a 'select' method, calling 'select' doesn't
trigger method_missing. Even though this was working before as
normal by using class Nodes's (subclass of Struct) select method,
I've changed all 'select' calls to go through the expressions.nodes
array explicitly. I've also changed 'detect'.