Python expression parser for future ElemwiseKernel work.
Make the parser a class and test it.
Fix bug in argument passing.