Fix gc_log when running in a web container

All logs supposed to be in gc_log file were ending up in main log
instead when deploying Gerrit in a web container. gc_log was setup only
when running Gerrit as a daemon.

Rework GarbageCollectionFile class to be able to get sitePaths as a
dependency and create a module to load it in WebAppInitializer.

Change-Id: Iee58a1ca36d62060d8f844c00254012db16705e2
3 files changed