add a check for mod_pagespeed

as discussed here https://github.com/owncloud/core/issues/6617

Please review @DeepDiver1975 @bantu @PVince81