Implement logging library
Remove new lines from logging, the library handles them. Add a final shutdown message. Log to stderr not stdout.
Only show log-to-syslog command line parameter if its available. Add options for logging level
Configure log level in config file and make reloadable for diagnostic purposes
Fixes #10
Log nasty problem with registrar
Merge branch 'develop' into features/logging
Add lc-tlscert utility and update documentation
Helps self-signed certificate generation which since Go 1.3 is more complex elasticsearch/logstash-forwarder#221