Updated the DarwinLibraryLoader to attempt to load user-specified libraries before the system defaults and fixed situation where OS X would produce "Symbol not found" errors when loading the libraries.
Updated the DarwinLibraryLoader to attempt to load user-specified libraries
before the system defaults and fixed situation where OS X would produce
"Symbol not found" errors when loading the libraries.

* ctypesgencore/libraryloader.py: Updated DarwinLibraryLoader.getdirs() to
    put the user-specified paths in front of the system defaults.  Also
    updated LibraryLoader.load() to use RTLD_GLOBAL instead of RTLD_LOCAL
    for the dlopen calls.


clach04/ctypesgen,slumtrimpet/ctypesgen,denfromufa/ctypesgen,pombredanne/ctypesgen,slumtrimpet/ctypesgen,pombreda/ctypesgen,adytzu2007/ctypesgen,androm3da/ctypesgen,clach04/ctypesgen,rokosjet/ctypesgen,djhenderson/ctypesgen,adytzu2007/ctypesgen,jherico/ctypesgen,clach04/ctypesgen,pombreda/ctypesgen,rokosjet/ctypesgen,djhenderson/ctypesgen,pombredanne/ctypesgen,adytzu2007/ctypesgen,jherico/ctypesgen,davidjamesca/ctypesgen,androm3da/ctypesgen,rokosjet/ctypesgen,djhenderson/ctypesgen,denfromufa/ctypesgen,slumtrimpet/ctypesgen,pombreda/ctypesgen,rokosjet/ctypesgen,pombredanne/ctypesgen,denfromufa/ctypesgen,pombredanne/ctypesgen,pombreda/ctypesgen,adytzu2007/ctypesgen,jherico/ctypesgen,denfromufa/ctypesgen,androm3da/ctypesgen,jherico/ctypesgen,djhenderson/ctypesgen,androm3da/ctypesgen,slumtrimpet/ctypesgen,clach04/ctypesgen