Move daemonconfig into daemon

Signed-off-by: Solomon Hykes <solomon@docker.com>
opts.IpOpt: a helper to parse IP addressed from the command line

Signed-off-by: Solomon Hykes <solomon@docker.com>
Helpers to parse lists, IPs, hosts, dns searches from the command line

Signed-off-by: Solomon Hykes <solomon@docker.com>
Parse daemon configuration in daemon.Config.InstallFlags instead of main

Signed-off-by: Solomon Hykes <solomon@docker.com>
opts.IPVal returns an error on incorrect input

Signed-off-by: Solomon Hykes <solomon@docker.com>
Check for conflicting daemon config options in NewDaemon

Signed-off-by: Solomon Hykes <solomon@docker.com>
Move remote API config out of daemon/

Signed-off-by: Solomon Hykes <solomon@docker.com>
Fix inconsistency in IP address parsing errors

Signed-off-by: Solomon Hykes <solomon@docker.com>
Merge pull request #7506 from shykes/cleanup-daemonconfig

Cleanup: refactor parsing and handling of Daemon config