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
#396 - The older UNDO delta was wrong. Wouldn't work.
Merge pull request #581 from arvindsv/fix_undo_delta_for_run_multiple_instance

#396 - Run multiple instances UNDO delta fix
Merge pull request #577 from pshivana/rails4_defect_fixes

#559 Fixed
Merge pull request #586 from pshivana/rails4_defect_fixes

#566 Fixed