Added ability to add/customize globals with: addGlobal(name, func)

With this, you'll be able to add global functions for use in your templates:

    env->addGlobal('some_function', function() { return 'hello'; });

In your template:

    {{ some_function() }}
    # Outputs 'hello'