improved sql logging
logging sql quotes
better dbsql logging
fixed fixtures