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
Status Job ID Name Coverage
  External
failed ERP5.UnitTest-Master

passed SlapOS.Eggs.UnitTest-Master.Python2

passed SlapOS.Eggs.UnitTest-Master.Python3

00:15:29

passed SlapOS.Eggs.UnitTest-Master.Python2

00:09:02