Binary logging improvement. Output paths setup possibility.

As result of logging improvements, logging was separated in to it's own files.

At initialization the environment variables are searched by dataChunkStorage initializer and if certain environment variable is found output path is transferred at new location. 

All operations was carefully chosen with care for no malloc operations inside library functions.