allow function templates for non-native functions
add a passing test
Merge branch 'master' into gfx/function-template.jsx
add assertions
add a test for template functions which includes closures
add a test
Merge branch 'master' into gfx/function-template.jsx
skip to process template functions in optimizer
add a test using try-catch in template functions
add tests (321 is failing)
Merge branch 'master' into gfx/function-template.jsx
Merge pull request #217 from jsx/gfx/function-template.jsx

Function templates