logging for cluster/comments & fixed a few doc tests.
Bump version: 0.3.0 → 0.4.0