Reduced code duplication in tests AppKernel

Conflicts:
	src/Elcodi/ReferralProgramBundle/Tests/Functional/app/AppKernel.php
Some minor fix in phpdoc