Proof-of-concept addond
Factor out some WML server stuff addond and wesnothd have in common to wmlserver.py
Use wmlserver for addond and server_redirector
Teach addond to provide the ToS of the server. This is enough to satisfy valen
Add write_wml convenience function
Add very tentative addon upload and download functions. The index is currently does not survive restarts
Sleep for 20 ms, not a full second
Save the addon index
Add a nonblocking socket to gzip_connection
Change wmlserver over to nonblocking mode
Implement saving on exit
Convert recursion to iteration to prevent stackoverflows