fix datatype mismatches for strings from userspace
use zend_bool where zend_long isn't needed

spare at least 24 bytes per globals item on 64 bit
fix datatype mismatches
fix datatype mismatch and warning
fix datatype mismatch warnings
all the key_len use uint, fix the warning when using strlen on 64 bit
fixing datatype mismatches
micro optimized initial hash size calculation

most of the calls are with a size <= 8, so don't even bother any
bitshifts. For the bigger sizes, use an intrinsic (should be extended
with gcc ones though).
fix datatype mismatches
this should be uint32
fix datatype warnings
fix dir separator in test
fix several datatype mismatches
fix datatype