Container: support appendChild() and insertBefore().
Calls onAddChild() in both cases.
Doesn't call onAddChild() for the original children.

Fixes #168.
handlebars: avoid spurious timing-related test failures