Json based plugins bug fixes

* Required fields in task config are validated at Go's end during config save through UI
* Appropriate error message when plugin is missing
* Handled a few minor bugs in task extension
Din't mean to check this in. Was added while I was testing. Will revert.