get collection instance from document
Merge branch 'master' of https://github.com/sokil/php-mongo