Set handle to NULL in clUnload().
Merge pull request #16 from dariomanesku/master

Set handle to NULL in clUnload().
NaCl unit test.
PNaCl vector intrisics WIP.
PNaCl vector intrisics WIP.
Added fmin/max3.
Added color conversion routines to fpumath.
Added chdir and pwd.
Added command line tokenizer.
Disabled tokenizer test.
Added include for alloca.h on OS X.
Merge pull request #17 from dariomanesku/master

Added include for alloca.h on OS X.
Add FreeBSD support to the codebase.

The FreeBSD-specific compatibility changes are invoked when the
__FreeBSD__ macro is defined, which is the default for (I think all?)
toolchains on FreeBSD. This turns on the BX_PLATFORM_FREEBSD macro which
can be used for further specializations.

FreeBSD is a mix between Linux, NaCl and OSX, with some extra cavaets that
have been worked around:

 * malloc.h is deprecated; FreeBSD uses stdlib.h instead.
 * alloca.h doesn't exist; it's also in stdlib.h.
Merge pull request #19 from lye/freebsd-platform-code

Add FreeBSD support to the codebase.
Cleanup.
Added FreeBSD to toolchain.lua.
Cleanup.