Use FQDN if possible.
Use CanonicalHostName only when it's a FQDN else use HostName.
Merge branch 'master' of github.com:burberius/logback-gelf into burberius-master
updated doc string for getLocalHostName and added isFQDN function to make more readable
Merge branch 'burberius-master'