moved some stuff to nest-core.tcl (but kept the namespace name the same i.e. ::nest::lang for the time being)