Fix app names with linebreaks or semicolons.
Cleanup method, to be integrated.
Use cleaner method.
Added CatLog logger for debugging.
Merge branch 'catlog' of ssh://github.com/amplab/carat into catlog