Added settings function to Twig extension

... by which it is possible to easily use the database settings in the template.

Can you also make a new tag?