$document -> $object in some use cases
Merge pull request #115 from symfony-cmf/document-in-varnames

$document -> $object in some use cases