add log4cxx-based logger (refs #746)

Add new log4cxx-based logger (#746).

This is an implementation of new logger; fix for each log output (LOG(INFO) lines etc) will be a separate pull-req. Currently still depends on glog.
If you're on Ubuntu, you'll need `liblog4cxx10-dev` package.

`int port`