log the OS, expand for FreeBSD and Solaris, and refactor to use a more robust OS checking system

git-svn-id: svn://svn.icculus.org/fs2open@10699 387891d4-d844-0410-90c0-e4c51a9137d3