registry: default --insecure-registry to localhost and 127.0.0.1

Signed-off-by: Johan Euphrosine <proppy@google.com>
registry: add test for empty insecure registry

Signed-off-by: Johan Euphrosine <proppy@google.com>