Added template rendering when not using annotations
bug #247 Added template rendering when not using annotations (WouterJ)

This PR was squashed before being merged into the 2.3.x-dev branch (closes #247).

Discussion
----------

Added template rendering when not using annotations

When generating a controller, the controller didn't had a body. This means it'll cause a failure when using it. This PR returns something, which means it returns an array when using annotations or renders the template when using another format.

Commits
-------

786545b Added template rendering when not using annotations