Add FreeBSD Support

This work gets the bare minimum code working on FreeBSD.  Catalogs compile, 
I decided to check, and I was close (this is on a current SmartOS downloaded today):
```
kernel => SunOS
kernelmajversion => joyent_20140710T224431Z
kernelrelease => 5.11
kernelversion => joyent_20140710T224431Z
```
So I believe this should stay as is.