Implement jsnew

Helper to create new js objects in cpp when given the constructor name.
Use jsnew in preference of new_instance
Bind polyhedron to machine interface.
Merge branch 'master' of github.com:mythagel/jscam