Reversed the order of documentAttached callback exec.

Now the documentAttached callbacks will be executed from the inside out
so that child view/viewmodels can do their work before the parent(s).