Use database transactions to make tests faster and add last_seen_at for

doors
5 jobs for 44-touch-doors-when-they-initiate-a-connection in 3 minutes and 43 seconds (queued for 2 seconds)