Enabled build on FreeBSD.

configure.ac scripts were updated with OS_FREEBSD detection.
Header files fix. LibUSB-X defines fix to build on FreeBSD-LibUSB.
Heimdall-Frontend works, remember about qt4-{gui,qmake,uic,moc,rcc,..}.