Added --hostname flag to slave and removed webui_hostname.

A slave can be started with --hostname which explicitly sets hostname
instead of usual system hostname. This is necessary in situations
where system hostname resolves to internal names which cannot be
accessed from the web ui.

From: Niklas Nielsen <nik@qni.dk>
Review: https://reviews.apache.org/r/14847