Add support for custom string/numeric/datetime functions

Based on Symfony2 configurations http://symfony.com/doc/current/cookbook/doctrine/custom_dql_functions.html
Offic. 
documentation http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/cookbook/dql-user-defined-functions.html