Don't auto-escape any function output

Discussed here: https://groups.google.com/forum/#!topic/swig-templates/tJG7dgxPOq8
Fixes gh-306
Fixes gh-302
Fixes gh-297
Merge pull request #309 from paularmstrong/refactor/functions-not-autoescaped

Don't auto-escape any function output