PHPCR fixes + add gallery support
PHPCRGenerator: add test
Merge pull request #271 from beeldspraak/phpcr

PHPCR add missing features