QUEEN: Move current detection code into separate source file.
QUEEN: Minor cleanup of detection code.
QUEEN: Initial work to migrate to Advanced Detector.

This breaks the detection until the required checksums for each version
are added and/or the fallback detection is fixed.
QUEEN: Add detection entries for Advanced Detector.

Some of the uncompressed language variant entries are missing
currently.