Merge pull request #74 from MAGZine/master

Fix compatibility with Symfony 2.3
fix PHP 5.3 compatibility
fixes a bug when a service is null
fix a bug when set service is null
Merge pull request #75 from marliotto/master

Fxes a bug when a service is null, Issue #70
Adjusting for difference between Symfony2.1/2.2