Added debug methods and fixed call to undefined function in DB class
Merge branch 'master' of git://github.com/wave-framework/wave

Conflicts:
	src/Wave/DB.php
	src/Wave/DB/Query.php