DI: properties of ServiceDefinition & Statement changed to private, added getters & setters [Closes #1445] (BC break)

$parameters and $arguments remains public, making possible to write directly into array