implmentation of document ref counting for persistance re-work of internal object handling
version length too
initialize the encoding length
Inital cut of new dom extension PHP5 only
1...<<1112