Fixes #4637: Add UI and system variables to configure modified-files and...

... CFEngine outputs retention TTL

Be aware that this is my first attempt in Scala/Lift, and even though it's mostly copy/pasted, it may contain stupid mistakes :)