Renderer classes

I sometimes need to be able to modify parts of the render process (add some attributes, change the display of errors, ...) Converting the render function to a class seemed like the most flexible way to go.

Hopefully it's pretty self explanatory. There's some code left in forms.py that I think can be safely removed but I was wary of breaking compatibility.