TRUNK-4307-Fix: Refactored code as recommended.

Throw APIException when ImplementationId object is null.

Added javadoc to ImplementationValidatorTest.java class

Moved @should messages to method level
Merge pull request #1057 from geoff-wasilwa/TRUNK-4307-Fix

TRUNK-4307-Fix: Refactored code as recommended.