Investigation Logging improvements.

 * Adds "atmos" subject to Investigate.
 * Massive overhaul of Investigate, making it more modular.
 * Also replaced investigate_log with investigation_log, with swapped arguments (which makes more sense).
YOU SAW NOTHING
Merge pull request #2414 from N3X15/investigate2

Investigation Logging improvements.