Add sublime, cache and config excemptions in 3.1 branch too.
Merge pull request #661 from oldhobbyist/add-gitignores

Add sublime, cache and config excemptions in 3.1 branch too.