Added valgrind support.
Added seperate options for unit and integration tests.
Added integration test for http server.