Domain rewrite (not ready)

Needs more tests.

* Generic domain computation for any number of fields.
* Domain now computed using compute functions and modifiers.
* Domain derivation sources now correctly generated from domain config.
* Object.get bugfix