GD extension ad a dependancy

GD extension should be added as an explicit dependancy in composer.json