added PHPCR support
Merge PHP CR support from 1.0