Add node require to cram builder boilerplate for node unit tests
Fix #96. scope.destroy() now destroys children, and waits for them to finish being destroyed before destroying the current scope