Adding vex::ternary(cond, expr1, expr2) function

Accepts arbitrary vector expressions for any of the three arguments.
Evaluates to ternary operator (cond ? expr1 : expr2) inside kernel
source.

closes #44