feat(img-src): add replacement of img-src via img-ref: prefix
feat(logging): make logging configurable

The log level may be set to `none`, `performance` or `debug` via the
plugins.links.logLevel property.