client debugging refactor; now logging is per basecube obj and logger can be passed to utils used by the cube on __init__; fixed unicodedecode error when applying type to values in basesql rows; debug output FAILED if query quits after X tried