fix setenv call
update ecma script wrappers
add origin point property to hatch entity
Merge branch 'master' of github.com:qcad/qcad