Style fix.
Eliminated unused variable.
Eliminated unused variables.
Refactored to reduce method complexity.
Relax check for MARCXML so that the xml prolog is not required.
Merge pull request #270 from EreMaijala/marcxml-relax

Relax check for MARCXML so that the xml prolog is not required.
Merge commit '10626175b41f9d19b2b85b6995c2d5dfe90e2a74'