Doctrine collection

Add doctrine collection to message (missing)
Change doctrine collection in thread from namespace in code to namespace's uses  declaration
Merge pull request #114 from nicodmf/patch-1

Doctrine collection