Changed find to accept query objects and added explicit support for raw query.