Fixed test_cleardb_parsing test
Added support for percent-encoded postgres paths.

This allows the user to specify unix domain sockets as host.

Example: postgresql://%2Fvar%2Flib%2Fpostgresql/dbname

Reference: http://www.postgresql.org/docs/9.2/interactive/libpq-connect.html#AEN38162