Update render for 2.2

In symfony 2.2 rendering of controlers changed so this is a fix for that.
It should remain 2.1 compatible
Merge pull request #104 from deresh/patch-1

Update render for 2.2