dmwm/T0 — pull request #3984 by hufnagel (2012-10-03 15:32:35+00:00)
Title: a bunch of small fixes and changes to DAOs

Fixing comments, optimizing queries. Only minimal functional changes for some interfaces between DAO and the code that calls it.