FLUME-1818: Support various layouts in log4jappender

(Hari Shreedharan via Brock Noland)