Fix proposal for Issue #7

Hi,

I have a proposal to fix Issue #7. The pull request is removing the java code borrowed from Posgresql and replace it with a simple utility object that uses regexp and scala pattern matching to parse the db connection URL. Some validation may still be required but please review and let me know what you think.

Thanks,
Gabi