upgrader: make upgrader pass coding style test

Change upgrader internal API to use `filter_dict` instead of `filter`
which is a builtin.
Remove a lot of unused code in extensions

/reviewed-on !1014
4 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

01:44:41

passed ERP5.PerformanceTest-Master

00:33:06

passed SlapOS.Eggs.UnitTest-Master.Python2

00:24:49

passed SlapOS.Eggs.UnitTest-Master.Python3

00:24:07