hide attachment input if ploneintranet.attachment is not available, refs #247 #10893