Added twig extension and function to get image src from an image id
Decoupled image entity from type entity as its not needed
Correct filename for twig extension
Twig extension media getter now returns whole entity