Added configurable formats for QDate and QDateTime representation.

Signed-off-by: Alexandr Zarubkin <me21@yandex.ru>
Fixed braces placement.

Signed-off-by: Alexandr Zarubkin <me21@yandex.ru>
Merge pull request #30 from me21/master

Added configurable formats for QDate and QDateTime representation.