Refactored Filter tests, removed previous merge conflicts

- StringFilterTest and SinkFilterTest now inherit from BaseFilterTest.
- DotFilter and AbstractCommandFilter had been saved with merge conflicts
  in an emergency as a backup measure. This is still work in progress.
Remove useless imports, replace hardcoded types by getType(). Fixed demo.

- app/grafizzi.php contained results from a failed merge.