fix opam pin with local opam file
fix exists_dir
fix opam pin when no version and name
Merge branch 'pin' of https://github.com/hhugo/opam
Minor cleanups to #812
Merge pull request #832 from samoht/master

support for opam/opam files