Issue 9474 - Ddoc unittests should work with interleaved version spec

http://d.puremagic.com/issues/show_bug.cgi?id=9474

Do **not** pull this before https://github.com/D-Programming-Language/dmd/pull/1641 is merged. It will additionally require a rebase as there will be merge conflicts.