Adds ActiveRecord-like query interface for Tire models