Replace old relations logic with $set
Create a relations store in #extend (replaces #$new) instead of lazily
Use named fns instead of internals
Update and enable all relation tests
Linting fixes