Add Google Test unit testing framework

Also include a simple test for b_raise_error.
ProcessLoop unit tests
Add unit tests to 'make test' and Travis CI

test-ex1 is disabled as it doesn't play nicely with $CC and
$CXX configuration.