Prevent circular dependencies

The container didn't prevent circular (constructor) dependencies, so I fixed this issue. Such an error could be hard to spot.

**When resolving #40, the following should be taken into consideration:**
Since SetterInjection can be helpful to avoid circular dependencies, it should be made after unlocking the class.