Add unit tests for LogglyBatchAppender; Minor edits

Added LogglyBatchAppenderTest, which interacts with a test HTTP
server (instead of Loggly) to run basic smoke tests.

Removed the toString() override, moving the debug info provided there
to its own debug function -- which is called only when the debug flag
is enabled.

Fixed raw-type warnings and javadoc typos.