ltrim had the issue that it would always consume the left-most character even if it wasn't whitespace. So `FEXLoader` would turn in to `EXLoader`, even without any whitespace in the string. Adds a test to ensure this doesn't occur again.
This follows discussions from #3413. Followup commits add clang-format file, script and blame ignore lists.