use dockercfg registry auth if found
add tests and clean up usage
DOCKERCFG_PATH should point to file, not dir
more idiomatic err handling
Merge pull request #1 from Clever/dockercfg-based-registry-auth

use dockercfg registry auth if found