TRUNK-4307-Fix: Refactored code as recommended.

Throw APIException when ImplementationId object is null.

Added javadoc to ImplementationValidatorTest.java class