Refactor Ciql::Sanitize.cast

* Simplify Hash casting
* Change DateTime and Time to use the same simple approach