Generate SVG image preview for page layouts (Bug #1392096)

Change-Id: I32faf161d9ef7c9cd020134a08998ce48acc7060
Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>