Add FreeBSD wcstoX implementations.

Change-Id: I2c0bfe5fbea6166ffbfa05337ff6061b937696a3
Make locale support compile

Change-Id: Idedf1eb8a6f35ede19c96eaee8b3f70d3b590982
Merge pull request #22 from awong-dev/locale_fixes

Locale fixes. Makes more string.conversions tests pass.
Add support for reading floats starting with 0x to strtod, add hdtoa().

This code is taken from the gdtoa/FreeBSD folder from Apple's Libc, with
minimal changes to make it compile standalone.

Change-Id: Ia7989ea275618ce2566b1da77c594d969bffb341
Add support for %a to the printf family.

This is based on FreeBSD's implementation, but slightly different so
that it looks more similar to the other code in vfprintf.c. The
implementation relies on hdtoa(), which was added in a previous commit.

Change-Id: I8847ae9cbe0acbaabf52a4d314d0ba775da3277b
Add support for %a to the scanf() family.

This was written from scratch (based on the existing hex int parsing
code in the same file). The actual string->double conversion work
is done by strtod(), which was taught about 0x floats in a previous
commit.

Change PFXOK, NZDIGITS to not overlap with DPTOK, EXPOK as all four are
used when parsing floats now.

Change-Id: I79fdfe72099ab5130aaaae57b017750fad1d50cb
Merge pull request #23 from awong-dev/hexfloat

Hexfloat
Add missing wchar file and fix sorting of build files

Change-Id: Ibbbfbbffa23d6423dd6d6df78a308fd2b78ec986
Merge pull request #25 from awong-dev/missing-files

Add missing wchar file and fix sorting of build files
Fix new.delete tests by correctly delegating to gabi new handlers and link methodology.

Previously GABIXX_LIBCXX incorrectly selected the default libc++
implementation for set_new_handler which defined a set handler per
translation unit. This made overriding incomplete.

Furthermore, the linking of libc++.so incorreclty specified -Bsymbolic which,
aside from causing issues with rtti and exception handlers, it also makes the
default implementations of the array operator new, and the single-object
no-throw variant (both of which wrap the normal single-object new) link
directly to the single-object new rather than jump through the PLT. This
means that even if you override single-object new, the default implementations
of these other new operators will NOT find the override. Bad bad bad.

Removed -Bsymbolic and also added --dynamic-list-cpp-new to correctly allow
overriding of operator new. The build script fix is kinda hacked...but
good enough for now.

Change-Id: I1abc21a849efdf4639689d4ae4499819cae32cd2
Merge pull request #26 from awong-dev/new.delete.linking.fix

Fix new.delete tests. Delegate to gabi new handlers and fix link methodology.
Don't assume default constructor for thread::id is minimal value.

Fix unittest for thread id operator < to not assume thread ids are
always larger than the default in strict weak ordering. This allows for
pthread_t to be signed like it is on linux.

Change-Id: Ia4ba05e7644d3705a2f66976677e48e6939cc2bd
Merge pull request #44 from awong-dev/thread_lt_test

Don't assume default constructor for thread::id is minimal value.