Reworked polymorphism

Relations can now be downcasted by use of a special Polymorphic field.
This in favour of using automatic downcasting for the related models.
No more hacks needed to get deletions working.