WIP — Custom Comparator in C

@juliusv Take a peek at this.  I haven't yet provided the Go interfaces to it.  Strict commentary is requested in the realm of the C++ and C implementation.  I can't imagine it getting a whole lot simpler than this, but it would be appreciated.