[JBIDE-15262] fixed creating web- and add-on-cartridge at same time

The prior commit included a faulty implementation that did not work.
This commit now fixes this.
Merge pull request #70 from adietish/JBIDE-15262

Merged by openshift-bot
[JBIDE-15399] ensure we're not failing on unknown link param type

turned LinkParameterType enum to a class and added a test in
ResourceDTOFactoryTest
Merge pull request #71 from adietish/JBIDE-15399

Merged by openshift-bot