Remove hardcoded paths

* added helper functions to return variables for system we are running on
* removed hardcoded paths and socket type

This will allow us to expand to other operating systems without changing too many files. 
Ha, can't believe I msised that.  Yes, they should.  Note, you can use backticks to define literal strings so you don't have to escape backslashes:

Temp: `C:\Juju\tmp`

Also