Web UI: merge multiple commits

This replaces all my other pull requests up to https://github.com/eiskaltdcpp/eiskaltdcpp/pull/42
I merged them all onto the current master, except for the modularization, which will take a bit more manual work.