Fix SVG recognition to get the proper content type
Refs https://gitlab.com/gitlab-org/gitlab-ce/issues/56701
In this MR the regexp used to detect partial SVG has been modified to detect partial SVG files.
Edited by Francisco Javier López (ex-Gitlab)