cgi: Make sure all mk_pointers are handled with length
cgi: Fix a crash due to uninitialized list
cgi: Fix behavior with high-performance CGI

cgit is too fast for epoll, causing epoll to send a hangup event
even though there are still several kilobytes left to read.

With this change, cgit can correctly send huge files on monkey.
Debian: libmonkey now distributes libmonkey.so symbolic link

Signed-off-by: Eduardo Silva <edsiper@gmail.com>
Debian: new libmonkey-dev and library naming improvements

Signed-off-by: Eduardo Silva <edsiper@gmail.com>