N3672 Complete

Take AGWA's updates for N3672, and add:
 * updated self-test
 * gcc 4.8 support
 * cmake support (Jason Toffaletti)