Merge effects and render library
In the past everything depended on the effects library. Instead in the future the effects library should depend on the render library. To achieve this for now merge the effects library into the render library.
This allows us to do other refactorings. Most prominently we store a reference to render targets in the render struct instead of using a static variable. This improves locality and closure.