Make Doctrine\ORM\Configuration implement fluent interface

Enabled chaining of calls to set*() and add*() methods in Configuration class.
Added relevant tests.

Created missing test for Doctrine\ORM\Configuration::setRepositoryFactory().