Doors store links as references to rooms

Fixes several issues, mostly since previously links were stored as IDs,
if the room's ID was modified somehow, the door would be linked to the
wrong room.