Evaluate TALES in custom command script.

Fixes ZEN-10426.
Merge pull request #128 from zenoss/feature/ZEN-10426

Please review branch feature/ZEN-10426