Fixes to nutty.py and install_host.sh

- nutty.py has been modified to make it work with both python 2 and python 3.
- install_host.sh now installs the host script into /opt/nutty on Linux systems