Fixes #13: Add support of datetime.date() method inside declarative queries
Merge master into orm: Add support of datetime.date() method inside declarative queries