DEP for ORM expressions API changes

Initial work on DEP for ORM expressions API.
I think that compiler.compile could be an existing method that could be overridden for this purpose, though it won't allow custom `prepare` implementations. I like the idea of a convert_expression (or similar) that runs before (or during) the prepare.