JBIDE-15526 - JAX-RS validation problems are not linked

Fixed by keeping info about removed elements in the metamodel
until the validation runs.
Added and fixed some JUnit tests to verify.