Correct hashcode and equals methods of ResourceInfo.
Add doc directory to gitignore.