Fix datetime instantiation in ElasticsearchSearchBackend._to_python

Correctly instantiate datetime objects in ElasticsearchSearchBackend._to_python. Includes a test method that demonstrates the issue.

Fixes #830