Add version to globals.
Register extensions the first time build is call.

Create a init_config() method to be called only once when the method
build is called the first time. It will register_extensions and
add_extensions to jinja environment.

Now add_extension does not register the extension. There is a new method
for that.
Add last commit change to CHANGES.
Auto-register the extension.