Fixed position.txt not getting created if 'import hal' used in python remap code.
Fixed position.txt not getting created if 'import hal' used in python remap code.

The Python hal module steals SIGTERM away from the handler set in milltask.
Milltask relies on getting SIGTERM from the 'liunxcnc' script (via 'kill') to
write out position.txt and exit. Milltask now looks to see if the SIGTERM
handler changed during init, then sets it back to its original handler which
in turn calls the thief's handler as well as exiting normally and writing
out the position.txt file.

ArcEye/MK-Qt5,kinsamanka/machinekit,unseenlaser/machinekit,mhaberler/machinekit,EqAfrica/machinekit,mhaberler/machinekit,unseenlaser/machinekit,RunningLight/machinekit,ArcEye/machinekit-testing,Cid427/machinekit,mhaberler/machinekit,Cid427/machinekit,Cid427/machinekit,strahlex/machinekit,mhaberler/machinekit,bobvanderlinden/machinekit,ArcEye/machinekit-testing,strahlex/machinekit,EqAfrica/machinekit,araisrobo/machinekit,bobvanderlinden/machinekit,ArcEye/machinekit-testing,ArcEye/MK-Qt5,Cid427/machinekit,Cid427/machinekit,araisrobo/machinekit,ArcEye/MK-Qt5,bobvanderlinden/machinekit,araisrobo/machinekit,bobvanderlinden/machinekit,EqAfrica/machinekit,araisrobo/machinekit,kinsamanka/machinekit,RunningLight/machinekit,EqAfrica/machinekit,mhaberler/machinekit,araisrobo/machinekit,EqAfrica/machinekit,strahlex/machinekit,unseenlaser/machinekit,strahlex/machinekit,ArcEye/machinekit-testing,ArcEye/machinekit-testing,ArcEye/MK-Qt5,mhaberler/machinekit,mhaberler/machinekit,ArcEye/machinekit-testing,kinsamanka/machinekit,ArcEye/machinekit-testing,kinsamanka/machinekit,Cid427/machinekit,Cid427/machinekit,unseenlaser/machinekit,unseenlaser/machinekit,mhaberler/machinekit,RunningLight/machinekit,araisrobo/machinekit,EqAfrica/machinekit,strahlex/machinekit,RunningLight/machinekit,bobvanderlinden/machinekit,araisrobo/machinekit,RunningLight/machinekit,Cid427/machinekit,ArcEye/machinekit-testing,ArcEye/MK-Qt5,EqAfrica/machinekit,bobvanderlinden/machinekit,kinsamanka/machinekit,araisrobo/machinekit,RunningLight/machinekit,ArcEye/MK-Qt5,kinsamanka/machinekit,bobvanderlinden/machinekit,bobvanderlinden/machinekit,ArcEye/MK-Qt5,ArcEye/MK-Qt5,strahlex/machinekit,EqAfrica/machinekit,araisrobo/machinekit,RunningLight/machinekit,RunningLight/machinekit,unseenlaser/machinekit,unseenlaser/machinekit,kinsamanka/machinekit,kinsamanka/machinekit,strahlex/machinekit,unseenlaser/machinekit