Various extensions for Lua

Various functions that have already been available in C have been added to Lua:
* send_file
* get_var
* get_mime_type
* get_cookie
* url_decode
* url_encode

Make http keep-alive usable for Lua scripts

+ minor Lua cleanups
+ tests
+ documentation

Tested in Windows and Linux.