use Application::setDefinition instead of setting private property

definition property of Symfony\Component\Console\Application is private !