adds ability to register service only in certain environment
Merge branch 'master' of git://github.com/schmittjoh/JMSDiExtraBundle