Initial commit of dblib dsql extension
Added altered and formatted version of lib/DB.php