unix-socket: allow socked in custom locations

Allow the socket to be set in any location. This allows for easy
setting up of a socket as a non-root user.
suricatasc: now python 2 and 3 compatible

Update code to support both python 2 and python 3.
suricatasc: exit with error if command returns NOK