NUL-terminate old password scramble
DSN: check for separating slash

Fixes #186
Merge pull request #187 from go-sql-driver/dsn_trailingslash

DSN: check for separating slash
Merge pull request #188 from go-sql-driver/oldPasswords_fix

NUL-terminate old password scramble
merge changes from upstream