Plugin cleanup

Refactor target creation code into targets plugin.
Add target id to target list fields
Delete targets (APPENG-2830)

Adds ability to delete targets by id