Hide module config link based on permission to configure jumplinks.
Fixes an XSS vulnerability in the user agent column on the 404 index.
Don't log 404 hits when there are no jumplinks and the logger setting is turned off. Right-truncate the request URL to 512 characters for the logger.