Fix #1086: Imports of hidden imports are not being analyzed.

Includes an enhanced test-case for hidden imports.

Reason was that analyze_one() was used, whereas analyze_r() is the
correct one. I think about renaming the functions.