Base: support more image formats

By relying on PIL after our monkey-patched OFS.Image.getImageInfo.

We keep this monkey-patch for now, because it adds supports to svg

See merge request !1426
4 jobs for fix/accounting_module_trade_condition
in 0 seconds, using 0 compute credits, and was queued for 0 seconds