Added support for logging using log4cxx library.

Fixed library references. Added basic code for logging. Started
implementing usage of Boost.Program_Options.