Added DocumentRepository::couchDBValue(...) mainly for converting DateTime when used as an index with findBy().
Merge branch 'repo_couchdb_date_val_for_indexes'