Created manager.js, managerSpec.js

With the test file `cubering.FCStd`, manager.js works fine. With
`torus.FCStd` however, `generator.js` simply stops executing when
receiving the tessellated model, after writing something to the console.
I don't know why. It might have to do with stdio buffer sizes or
something. I'll have to look into it.