DI: Added support for backslashes in service name (BC, deprecated) #682

**Draft!** I have written commit from my head with changes that should be necessary. It is a draft to help solve issue #682.