Support switch template instructions

The form is :
{'case', SwitchVariable, Values, Instructions}.
This completes #138 "Support conditional template instructions".