[server][test] Enable to output coverage.

How to output it:
* Install lcov
  $ apt-get install lcov
* Regenerate the configure script then run it with --enable-coverage
  $ ./autogen.sh
  $ ./configure --enable-coverage
* Run make with "coverage" target
  $ make coverage
* Open coverage/index.html by a web browser
  $ firefox coverage/index.html