refs #61, fix locking bug, add write list lock before reintegrating PAIRs into  the cachetable on a open