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

turned LinkParameterType enum to a class and added a test in
ResourceDTOFactoryTest
[JBIDE-14514] loading embedded cartridges only when needed

Removed the workaround for
https://bugzilla.redhat.com/show_bug.cgi?id=812046 and implemented new
cartridge loading strategy where they're being loaded only when details
are needed