[DependencyInjection] use/fix newest Definition::setFactory
Merge branch '2.6' into 2.7

* 2.6:
  [DependencyInjection] use/fix newest Definition::setFactory
  fixed unit tests
Merge branch '2.7'

* 2.7:
  [DependencyInjection] use/fix newest Definition::setFactory
  fixed unit tests
  [2.7] print deprecation summary at end of tests
  [Bridge] [Propel] minor improvements to the Propel bridge.
  [FrameworkBundle] Allow custom services for validator mapping cache.