Update CMakeLists.txt to allow static libraries to be built
This is the httpserver part of QtWebApp from Stefan Frings
Files copied over from the original 'doc' folder: