Identical to the previously added check-kotlin-formatting.sh, except it attempts to automatically address formatting issues where possible