Added handling for realloc() returning NULL, Fixes #1
Added -Wextra to build_test.py script
Added void casts to unused func args
Fixed -Wextra warnings in test_vec.c
Added some return value tests