Rewrite using cpp-netlib instead of C++CGI.

Not sure if a good decision, but the CGI library was hardly compilable anyway...
Also taken the occasion to freshen the code a little bit. Using cmake-extra to
build things now.

Opening issues:
  #1 Still need a differential update instead of refreshing the whole screen.
  #2 VTE doesn't seem to signal dirty terminal anymore.