LogWriter based on ArrayBlockingQueue
New version of LogWriter based on ArrayBlockingQueue
Fix thread creation
Fix wait problem
Fix empty flush problem
Replace take operation to drainTo
Merge pull request #221 from kgribov/LogWriter(ArrayBlockingQueue)

Rewrite Log writer using ArrayBlockingQueue