Format message before adding loggly metadata

Also removed a throw err inside an asynchronous callback.
Merge pull request #214 from GregoireDigbil/master

Format message before adding loggly metadata
0.6.17
altering the timings on some tests to make them slightly less flaky (maybe)
added getBufferedLogger function.

This function should be useful when you need to log during async
parallel operations, without having a mess in logs.
For example when you walk asynchronously a directory and you want logs
to be grouped by file.

It returns the same getLogger() object but messages are stored
internally and sent to appenders only when you call the flush() method
on it.
Removed hook.io appender, because hook.io does not build on systems without python
getBufferedLogger tested.
gitignore
Merge pull request #231 from eurekaa/buffered-logger

added getBufferedLogger function.
Correctly send message, level and hostname

Fix issue #230 where the level would hold the message and the log level
information would be lost.
Change spaces by tabs

Keeping constitency with the rest of the code.
Remove test logging
Merge pull request #232 from GregoireDigbil/fix_loggly_formatting

Fix loggly formatting
0.6.18
Correctly send message, level and hostname

Fix issue #230 where the level would hold the message and the log level
information would be lost.
Change spaces by tabs

Keeping constitency with the rest of the code.
Remove test logging
0.6.18
#233: Adding ability to put pid in log layout pattern
#233: Adding ability to put pid in log layout pattern