add collection of statistics and then output the summary

very basic attempt to keep statistics on number of blocks cached or missed in the current page load. uses an unstyled print_r to dump the data after the core_profiler block (which should always be present).