MRG: some cleanups after code directory move.

Move atoms tests into atoms directory; just because it's slightly more
standard.

Move contents of ``code/.gitignore`` into top-level .gitignore