PERF: reduce storage requirements for incoming links

Only store incoming links for topics.
Annotate changes
PERF: refactor incoming links table
PERF: finalize porting to new incoming links structure
remove invalid join