Rewrite import page analysis entrypoint
Rewrite import page analysis entrypoint

- this file changed quite a bit upstream since last work on it, hence I decided to just overwrite my changes with upstream changes and rewrite the more simple case of imports page analysis
- main conflicts with upstream now is that the setDocField/Attachment helpers are on the entire file scope instead of inside the background entrypoint

WorldBrain/WebMemex,WorldBrain/WebMemex