Ask before dropping database.
Add functions escaping strings for LaTeX.
Implement PrintingService.
Add printing frontend to CWS.
Use C++11 by default to compile C++ submissions.
Add documentation on programming languages details.
Fix cms.conf style
Merge pull request #332 from lucach/upstream

Fix cms.conf style
Allow Printing and Proxy service not to be present in cms.conf.

Both are required only in specific situation: when printing is enabled
and when there are external rankings, hence it makes sense to skip
them from the configuration if these features are not enabled.
Added logging explanation to two exceptions.

First is "wrong connection string", second is "service not specified
in conf". First still has several occurrence - we fixed only the case
in which the service accepts a contest id.

I introduced a new exception, ConfigError, which is supposed to be
used for critical configuration problems, and is catched only in the
scripts' main.
Remove a long-living connection when precaching files in Worker.
Worker: during precaching, download files only if they're not available.