Added zmalloc from redis in order to allow different allocators.
Merge branch 'topic/zmalloc' of https://github.com/thedrow/r3 into thedrow-topic/zmalloc
fix header includes
Fixed all warnings from tests.
Removed wrong call to zfree that caused a segfault.
Using zstrndup instead of strndup)
Implemented zstrndup.
Guarding against freeing NULL pointers.
More guarding against freeing NULL pointers.
Merge pull request #28 from thedrow/topic/zmalloc

Added zmalloc from redis in order to support different allocators