REVIEW: [NX-244] Tasks NG UI

https://issues.sonatype.org/browse/NX-244

Part of pull request is extracting form fields related functionality from capabilities to be able to share it with tasks