Make Site objects pickle-able

Since we can't pickle Lock objects, those are removed upon
pickling, and restored when the object is unpacked.

Bug: 62094
Change-Id: I3298fa212ad99e1674067b42a1c081f8bd0f779e