Add FreeBSD support.
Merge pull request #3 from wathiede/freebsd

Add FreeBSD support, update docs.