Added support for parameterized trigger plugin.
Reworked a few job-management functions on the API to improve performance.