myrial: use StatefulApply only if state

Otherwise use Apply
Merge pull request #133 from uwescience/dhalperi-apply-vs-stateful-apply

myrial: use StatefulApply only if state
put back the pipeline code; remove deprecated
Merge branch 'bmyerz-compilepy' into bmyerz-grappa-fixups
typo in template for string lookup