Duplicating log4j_logger from rails 2

Updated specs too.
Fixing Hound feedback
Merge pull request #580 from sachinsudheendra/rails4-copying-log4j-logger

Duplicating log4j_logger from rails 2