Reduce max complexity

This PR does not add any functionality but essentially refactors `scc/git.py` to cap the maximum complexity to 12. The maximum complexity is added to a top-level `setup.cfg` and run by Travis. 

To test this PR:
- check Travis is green
- check the merge job and the tests stay green
- check all the code logic is preserved