Replaced Semaphore Lib
Replaced Tom Wagner's Semaphore library with the POSIX
standard semaphore types.
Also fixed up a few problems with the hash table.
Also switched to BSD license. Licensing was in limbo for a while
'cos I didn't feel comfortable with GNU Public License restrictions.
BSD as I understand it allows anyone to use the library as they please
for any reason(including commercially). The project is still in a very
early stage and has experienced only 30 odd downloads so I don't think
there is any issue with changing the license. Has anyone every read