Add support for date properties

- Save dates as the DATE SQL type
- Support sorting by dates in Query