Simplify Ecto type checking

This is a complete overhaul of the Eco.Query system up to the Repository backend.