Move libs/queue.[ch] to libs/fqueue.[ch]

This makes way for BSD's TAILQ definitions in queue.h
Import BSD's queue.h

This will allow us to use TAILQ for linked structures, etc.
Check for presense of <sys/queue.h>

On non-BSD systems, assume the libs/ one which has been imported.