Add php / imagemagic config to multimedia role

Abstracting out by moving common, extension unrelated multimedia
stuff into the multimedia role. Idea being other extensions/roles
that use some multimedia stuff will include this role.

Change-Id: I5b0e34083aef7c8960a890ddc7b493d9decc3bbf