add unittest configuration

- uses libevent
Merge pull request #397 from dawgfoto/unittestTarget

add unittest configuration