Merge xbps-repo-checkvers from https://github.com/xdave/xbps-src-utils

This is the 2-clause BSD implementation that does not use any external
dependency (other than libxbps).

Written by xdave.

Made some minor changes to build cleanly.
Update COPYING and add AUTHORS.
Bump to 0.36.