Added ability to replace child at an index.

Signed-off-by: Jared Woolston <jwoolston@tenkiv.com>