Add strip host data functionality

Most metrics provide graphite styled metric naming, which contains the
name of the host. This strips the common preffix from the metric and the
host FQDN, making InfluxDB query syntax cleaner.