officejs_support_request_ui: more flexible way of making preview link for attachments

Instead of expecting exactly actions with "preview" or "view" name, take any
action which name contains "preview" (or title is "Preview") or name is "view".

This makes it easier to include support request applications in different
applications, where the default actions might have a different name. This also
fixes the preview link for File portal type, because there was no "preview" or
"view" actions for File.
6 jobs for feat/support_request_attached_document_link (queued for 1 second)
Status Job ID Name Coverage
  External
running ERP5.CodingStyleTest-Master

24253:48:36

running ERP5.PerformanceTest-Master

24253:47:41

running ERP5.UnitTest-Master

24253:48:25

running ERP5.UnitTest-Master.Medusa

24253:48:41

passed SlapOS.Eggs.UnitTest-Master.Python2

00:08:10

running SlapOS.Eggs.UnitTest-Master.Python3

24253:48:03