Fix class level @inject decorator behaviour

Bindings wouldn't be fully processed sometimes because mutating
a dictionary while iterating it would result in skipping certain
keys depending on the internal dictionary ordering.

This would result in an error (missing keyword argument) when creating
an instance of such class.