Allow to run checkstyle with untracked files present.

Additionally, this CL adds basic tests.

Bug: 25852971

Change-Id: Ia8a62e0d49428e1d933d2cef832c977e62f9c614
(cherry picked from commit 55e7480eff555404eb2bea3b57d87897962e98f3)
2 files changed