Reverted .ignore file

Reverted to previous version of .ignore file, but also added an entry
for the .gradle directory.