Merge pull request #3 from eugpermar/master

Added SIMPLEQ_FOREACH_SAFE

With FreeBSD syntax (tmpelement last)
Clear avl_node memory before insert
Merge pull request #4 from eugpermar/master

rdlru.h needs to include rdthread.h, because rd_mutex_t used
Included needed stdint in rdbits.h