Some maintenance in PosixMain.cpp

Functionality changes:
* Restore --uuid option, prints out hostname:port
* -H can now be used as a short form of --add-host

Bugfixes:
* Don't log anything before loggers are initialized
* Don't log anything when using -v, -u, or -l

Misc:
* Add generate_uuid function to unnamed namespace
  (removes a slight bit of code duplication)
Merge pull request #151 from scj7t4/Maintenance

Some maintenance in PosixMain.cpp