read functions from options and register them
Added function registering readme
Merge pull request #6 from Gaya/pass-functions

Extending Twig with functions