fix undefined behavior (-LONG_MIN)
fix implicit declaration of function 'ntohl' [-Wimplicit-function-declaration]
warning: 'num' may be used uninitialized in this function [-Wmaybe-uninitialized]
report real extension version
fix warning: 'binpack_tpnames' defined but not used [-Wunused-variable]
fix warning: pointer targets in passing argument 4 of 'zend_hash_get_current_key_ex' differ in signedness [-Wpointer-sign]
Merge pull request #4 from remicollet/issue-101

Various fix