add relations array to $object var in detail

In object detail the object relations are in a dedicated $relObjects var.
Now they are also in $object.relations that it makes more sense and it's consistent with frontends.
The $relObjects array is maintained for retrocompatibility with plugin Module