Improved ternary tests
Fix type/optype confusion; expose op names
Fix ternary code generation

Was missing a point wrt. temporary values.
JIT Perl ternary
Forgot about negation? Expose it to Perl
Fix variable-finding tree walker for listops
Refactor OP tree walking into its own function
C++ fixups