Initialize log4cplus early if possible.

Use GCC constructor function attribute when it is present.
Check for init_priority GCC variable attribute and use it.
Fix log level string constants initialization issue. (SF bug #303)
Based on patch by: Ray Logel
Bump log4cplus library's libtool revision number.