PSR-2 compliance + DIC update.

Also, updates the DIC to use Symfony 2's component.