Allow view to override render() if they want to, otherwise it just cast using __toString().

Signed-off-by: crynobone <crynobone@gmail.com>