Add encoding the loggregator test app source file

Signed-off-by: Alex Jackson <ajackson@pivotallabs.com>