log4cxx: Fix build by adding missing includes.

This adds a bit too many includes but in the end it won't hurt on the
size of the build output because those are optimized away. But having a
whole bunch of sed expressions just for selectively adding includes just
clutters up the package expression.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
log4cxx: Clean up package expression.

Add meta.license and use a version attribute instead of hardcoding
everything.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>