Replaced depreciated hookAddTwigExtension() with addTwigExtension()

Literally just to stop it clogging up my logs...