Add C-support for ByteString keys

The pa_grid template has been modified to support ByteString keys
throughout the whole library. Additionally, some helper functions have
been added to the MonetDB NeoGeo/PAGrid extension to support encoding
numbers into hex values. This is needed to actually create the index
with ByteString keys.