Implemented querybuilder for use with DocumentType

This adds the option to specify a querybuilder on a phpcr_document form-type. 

There is currently no test for the DocumentType I'll try to port the test from the ORM bundle as it is a quite extensive test case.