Added support for functions as templates
Merge branch 'functionTemplates' of git://github.com/NateLillich/typeahead.js into 125-support-template-functions

Conflicts:
	src/js/typeahead.js
Add test for compiled template usage.
Merge pull request #137 from jharding/125-support-template-functions

Support compiled templates