Updates for nxScript and nxService python scripts.

Contains changes to python scripts used by two resources:
- nxService: should fix #9 
- nxSrcipt: should fix #8 

nxService issue is rather serious: it will cause nxService to fail on any system with locale other than English.
nxScript is solution for potential problems with authoring configuration using nxScript resource