FT-307 Add a 'memcmp magic' API, where users can specify that a
particular value for the first byte of a key means it may be compared
with memcmp and a length check.

FT-50 Implement toku_builtin_cmp_fun with memcmp and a length check
FT-300 Fix OSX build