Add auto-correct to DotPosition cop

Fix #1279
Merge pull request #1300 from yous/patch-dot-position-auto-correct

Add auto-correct to DotPosition cop