Fixes #7366.

Kills unecessary photo datum which wasn't even used correctly anymore, causing runtimes and blank photos.
Photos have a global id for ease of synth syncing.
Changes how law/photo syncing is handled when pulsing the appropriate borg wire.
Also ensures re-synced borgs are added/removed from the appropriate AIs.

According to history most of the datum stuff was originally made by that @PsiOmegaDelta guy. What a scrub.
Some of it seem to have been incorrectly resolved merge conflicts by someone else but still.