Working on Mac support

Trying, with Rob Aulwes, to get Byfl to build and run under Apple OS X.
Updated Byfl build system

Copied the latest Makefiles from llvm/projects/sample and edited
lib/byfl/Makefile to add support for generating bitcode libraries, as
these are apparently no longer supported by the LLVM sample project's
Makefiles.
Honor CC and CXX variables

Made the install script use the CC and CXX environment variables if
set.  If not, gcc and g++ are used instead.
Minimum bash version

Because build-llvm-byfl uses bash's coproc statement, the script
doesn't work with versions of bash prior to 4.0 as these lack coproc
support.  Alas, Apple ships a 3.x version of bash with the current
OS X, which means the script can't run on a "pure" OS X
installation.  As a stopgap measure, the script now explicitly
checks BASH_VERSION and aborts with a more user-friendly message
than "syntax error", which is what would happen otherwise.
Attempt to fix threading issues

This was an attempt to improve the way Byfl handles multithreaded
code.  So far, it still doesn't work correctly with LGNCG.
Wrote a bfbin2sqlite3 man page as reStructuredText
Merge branch 'mac-support'
Merge branch 'rst-man-pages'
Merge branch 'thread-fixes'