Fixed typo, debugging messages in connect.php
Added debug.php and test page

Include debug to have access to error reporting, use if($debug) for
debugging statements.
Updated readme