added cgi wrapper for wsgi flask.

Need to consider how to route urls.
Also I think it is cgi/wsgi's responsibility to log necessarg access info.
Lisod is just a hosting server and http dispatcher. And it don't get the return
code of cgi programs.