This patch removes unused crate imports reported by newer rust versions. Some crates were only required for tests, some only for tests with macro_import - these things were fixed with feature gates.
Along: Add files in documentation for modules that not yet had one.
Fix: run `sed -i 's,libimagref,libimagentryref,g' (rg -l 'libimagref')` Fix: run `sed -i 's,libimagannotation,libimagentryannotation,g' (rg -l 'libimagannotation')`