Fixes #2597. Added a validateTunableInput method, which is called every time command line executor tries to run a new task. If the tunables are not correct then the task is cancelled.

Change-Id: I5ef3ad8d165a4482721ed6c6afe02eee408fc395