Ignore generated files.

src/.gitignore:
tests/.gitignore:
	As above.