refactor ini parser
HTTP-API: return a 404 error if a job is created using a nonexisting layer
show number of queued jobs on status page
remove some excessive debug logging
use cmake to write project config.h