DbImageDto: extracted class.

Addressed to #132

No functional changes.