Add the background job list to the public server container

Also removes static usage of `\OC\DB` and `OC_AppConfig`

cc @PVince81 @DeepDiver1975 @karlitschek