Fix problem with initialization order in ClassToAPI.scala.

In `ClassToAPI` both `Private` and `Protected` vals had forward
reference to `Unqualified` so they would get `null` as a result.
Fixed that by rearranging the order of vals being declared.

This fixes a problem described in 9dd5f07.

Also, reverts 9dd5f07.