Add git version info to 'opam show'

Closes #1349