add .ugly() method to dbquery

disables .pretty() for just a single query.