naming_convention: Handle dots in `to_snakecase`
naming_convention: Handle dots in `to_snakecase`

Improves on the way the function ``to_snakecase``
handles dots.

Fixes https://github.com/coala/coala/issues/2696

Balaji2198/coala,RJ722/coala,damngamerz/coala,RJ722/coala,coala-analyzer/coala,CruiseDevice/coala,aptrishu/coala,refeed/coala,Asnelchristian/coala,incorrectusername/coala,shreyans800755/coala,JohnS-01/coala,rimacone/testing2,MariosPanag/coala,CruiseDevice/coala,yashtrivedi96/coala,nemaniarjun/coala,arjunsinghy96/coala,Shade5/coala,MariosPanag/coala,Nosferatul/coala,coala-analyzer/coala,yashLadha/coala,kartikeys98/coala,sagark123/coala,MariosPanag/coala,arush0311/coala,SanketDG/coala,yashtrivedi96/coala,yashLadha/coala,incorrectusername/coala,Asalle/coala,sagark123/coala,karansingh1559/coala,karansingh1559/coala,aptrishu/coala,NiklasMM/coala,jayvdb/coala,coala/coala,Shade5/coala,nemaniarjun/coala,meetmangukiya/coala,coala/coala,impmihai/coala,refeed/coala,ayushin78/coala,SanketDG/coala,netman92/coala,karansingh1559/coala,RJ722/coala,coala/coala,meetmangukiya/coala,JohnS-01/coala,refeed/coala,impmihai/coala,yashtrivedi96/coala,ayushin78/coala,jayvdb/coala,kartikeys98/coala,Asalle/coala,meetmangukiya/coala,netman92/coala,CruiseDevice/coala,arush0311/coala,SanketDG/coala,netman92/coala,aptrishu/coala,Nosferatul/coala,shreyans800755/coala,damngamerz/coala,Nosferatul/coala,arjunsinghy96/coala,JohnS-01/coala,NiklasMM/coala,jayvdb/coala,sils1297/coala,rimacone/testing2,Balaji2198/coala,Asnelchristian/coala,Asnelchristian/coala,arjunsinghy96/coala,coala-analyzer/coala,sils1297/coala,shreyans800755/coala,arush0311/coala,nemaniarjun/coala,rimacone/testing2,incorrectusername/coala,kartikeys98/coala,ayushin78/coala,NiklasMM/coala,Shade5/coala,impmihai/coala,Balaji2198/coala,sagark123/coala,sils1297/coala,damngamerz/coala,yashLadha/coala,Asalle/coala