optimize generation counters and add Directory object mutex
fix sensitive and extractable in derive*DH()
implement C_CopyObject
Merge pull request #21 from fxdupont/genopt

optimise generation counters