Scripting: SEARCH_TEMPLATE_JSON supports EXIT and NEXT_COMMAND
Merge pull request #219 from emmanuel-keller/1.5

Scripting: SEARCH_TEMPLATE_JSON supports EXIT and NEXT_COMMAND