Refactored configuration tests into new file.
Moved configuration file parsing back to lib.openjp2