Enhancement: Add postprocessing mimetype to extension helper

Add rego helper to resolve extensions from mimetype `ocis.mimetype.extensions(mimetype)`.
Besides that, a rego print helper is included also `print("PRINT MESSAGE EXAMPLE")`

https://github.com/owncloud/ocis/pull/6133
