Remove whitespace in front of compiler commands.
Added feature tests for the JSON compilation database reporter.