Renamed method in XDStreamParser

Renamed verifyModuleOfTypeExists to resolveModuleType;
improved JavaDoc.