Added in .gitignore

There was no .gitignore file in this repository. Hence directories like 'target/' get added in as files that need to be committed. 

Copied .gitignore from one of the other cachestore repositories for consistency.