Move summary code to pymc.stats

The recent backend changes (4efec68) left the summary-related code in
trace.py for diffing purposes, even though all the trace-related content
was removed from trace.py. This commit moves the summary code to
stats.py. There are no changes in content aside from adjusting imports.