Tweak the async and Build Configuration

- Created separated PR for @metadave 
- Add `riak_async.h` for libevent-exportable functions
- Add export "C" around exported headers for future C++ inclusion
- Use pthread version of libraries for example app
- Use pkg-config for cunit, too
- Properly initialize `event_base` for pthreads