Add prev-component to -build signature

We need to pass the previous component (ie state & attrs) when building so that
we can invoke life-cycle hooks that take it.

Also need to pass along root-node when we are building the root.