send back event with substituted command tokens
[534] check name cannot contain spaces or special characters
Merge pull request #537 from portertech/534

Check name cannot contain spaces or special characters (#534)
[payloads] moved invalid result log line to valid_result?()
Merge pull request #538 from portertech/payloads

[payloads] moved invalid result log line to valid_result?()
[token_default] reduce the number of ternary operators in token substitution
Merge pull request #539 from portertech/token_default

[token_default] reduce the number of ternary operators in token substitution
Merge pull request #525 from piavlo/feature/return-result-with-substituted-command-tokens

send back event with substituted command tokens