This patch moves the statistics library to its own dir.

In the move to depopulate the legacyheaders directory
http://redmine.gromacs.org/issues/1415 this is a small
contribution. Histogram files removed.
Added doxygen style comments as well.

Change-Id: I9da9fefac0d4dd1c5de13862f348adc5c812ad4d