Smarter EOF sqlplus output capture
Debug added
Handle the html output which is spit by sqlplus when detecting the EOF.
Fix test cases.
Merge branch 'issue_#48'