Allow for common logger to work on Mac OS/X for local testing

Check for current system's platform and use the appropriate domain
socket.

Add additional git ignore entries for intellij projects.

RFCR @jnrbsn @nmonterroso 
Can this be the default value for SyslogHandler? https://docs.python.org/2/library/logging.handlers.html#logging.handlers.SysLogHandler