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 
I know it was already like this, but can you fix these imports so they're in lexicographical order?