Fixes #7366.

Kills unecessary photo datum which wasn't even used correctly anymore.
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.